Index: src/compiler/representation-change.h |
diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h |
index 5514bfc738b365bf3648dc67e8110c7eeb82b64a..a9fc283c7e101c2d1031cfde0ed23fdaee620c84 100644 |
--- a/src/compiler/representation-change.h |
+++ b/src/compiler/representation-change.h |
@@ -139,6 +139,10 @@ class UseInfo { |
return UseInfo(MachineRepresentation::kFloat64, Truncation::Any(), |
TypeCheckKind::kNumberOrOddball); |
} |
+ static UseInfo CheckedNumberOrOddballAsWord32() { |
+ return UseInfo(MachineRepresentation::kWord32, Truncation::Word32(), |
+ TypeCheckKind::kNumberOrOddball); |
+ } |
// Undetermined representation. |
static UseInfo Any() { |