Index: src/compiler/representation-change.h |
diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h |
index 4fa7d917b747a18c96425e12855f6a746c446155..0ce00e452c3517e6a2c468867b18b9c9203f7ec9 100644 |
--- a/src/compiler/representation-change.h |
+++ b/src/compiler/representation-change.h |
@@ -141,6 +141,9 @@ class UseInfo { |
static UseInfo TruncatingFloat64() { |
return UseInfo(MachineRepresentation::kFloat64, Truncation::Float64()); |
} |
+ static UseInfo TruncatingFloat64AsWord32() { |
+ return UseInfo(MachineRepresentation::kWord32, Truncation::Float64()); |
+ } |
static UseInfo PointerInt() { |
return kPointerSize == 4 ? TruncatingWord32() : TruncatingWord64(); |
} |