summaryrefslogtreecommitdiffstats
path: root/chromium/v8/src/compiler/representation-change.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-01-25 16:25:39 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-01-29 15:43:13 +0000
commit2b94bfe47ccb6c08047959d1c26e392919550e86 (patch)
tree4a9cb6fb333ac7e0e5bfbdd3a8faa219880e193d /chromium/v8/src/compiler/representation-change.cc
parent51f6c2793adab2d864b3d2b360000ef8db1d3e92 (diff)
BASELINE: Update Chromium to 71.0.3578.140
Change-Id: Ia85516cc06e245e449ca8a6652242b8a1bcace74 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/v8/src/compiler/representation-change.cc')
-rw-r--r--chromium/v8/src/compiler/representation-change.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/v8/src/compiler/representation-change.cc b/chromium/v8/src/compiler/representation-change.cc
index ad4c5c916c0..b141cad7736 100644
--- a/chromium/v8/src/compiler/representation-change.cc
+++ b/chromium/v8/src/compiler/representation-change.cc
@@ -586,7 +586,7 @@ Node* RepresentationChanger::GetFloat32RepresentationFor(
} else if (output_rep == MachineRepresentation::kFloat64) {
op = machine()->TruncateFloat64ToFloat32();
} else if (output_rep == MachineRepresentation::kWord64) {
- if (output_type.Is(Type::Signed32())) {
+ if (output_type.Is(cache_.kSafeInteger)) {
// int64 -> float64 -> float32
op = machine()->ChangeInt64ToFloat64();
node = jsgraph()->graph()->NewNode(op, node);