Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 64d093fbb6e19096baa4f8579728239c07edd4ca..f513f0045ea5cee81d7e9fce807eaa30ea8cf4d5 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -2400,7 +2400,7 @@ void Interpreter::DoForInPrepare(InterpreterAssembler* assembler) { |
Node* object_reg = __ BytecodeOperandReg(0); |
Node* receiver = __ LoadRegister(object_reg); |
Node* context = __ GetContext(); |
- Node* const zero_smi = __ SmiConstant(Smi::FromInt(0)); |
+ Node* const zero_smi = __ SmiConstant(Smi::kZero); |
Label nothing_to_iterate(assembler, Label::kDeferred), |
use_enum_cache(assembler), use_runtime(assembler, Label::kDeferred); |