Index: src/compiler/representation-change.h |
diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h |
index 1500c498164dc606aa814a8b3560919b2bd73e63..cdbd63027477ca26369393f4fa62e27a215c6db4 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() { |