Index: src/compiler/representation-change.h |
diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h |
index f7b2ba63796629eca19369a8a9e95c0cdf3b9d74..3b6f183056fe57e4433f772b62e20b60df60f117 100644 |
--- a/src/compiler/representation-change.h |
+++ b/src/compiler/representation-change.h |
@@ -157,7 +157,7 @@ class RepresentationChanger { |
node = jsgraph()->graph()->NewNode(op, node); |
op = machine()->TruncateFloat64ToFloat32(); |
} else if (output_type & kRepFloat64) { |
- op = machine()->ChangeFloat32ToFloat64(); |
+ op = machine()->TruncateFloat64ToFloat32(); |
} else { |
return TypeError(node, output_type, kRepFloat32); |
} |