Index: src/interpreter/interpreter-assembler.cc |
diff --git a/src/interpreter/interpreter-assembler.cc b/src/interpreter/interpreter-assembler.cc |
index 41e6bb81baa60e90fc20dc7fbbcb5da31b177f59..34b40ec4f0115038d28af5451f5fa97826404e7d 100644 |
--- a/src/interpreter/interpreter-assembler.cc |
+++ b/src/interpreter/interpreter-assembler.cc |
@@ -1112,8 +1112,8 @@ Node* InterpreterAssembler::TruncateTaggedToWord32WithFeedback( |
Label if_valueisheapnumber(this), |
if_valueisnotheapnumber(this, Label::kDeferred); |
Node* value_map = LoadMap(value); |
- Branch(WordEqual(value_map, HeapNumberMapConstant()), |
- &if_valueisheapnumber, &if_valueisnotheapnumber); |
+ Branch(IsHeapNumberMap(value_map), &if_valueisheapnumber, |
+ &if_valueisnotheapnumber); |
Bind(&if_valueisheapnumber); |
{ |