Index: src/builtins/ia32/builtins-ia32.cc |
diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc |
index 58701d8b26b555443fe051cde16e02e2a21570d9..74b181246b49cf4f0c8f81c2785f0c9c985d4868 100644 |
--- a/src/builtins/ia32/builtins-ia32.cc |
+++ b/src/builtins/ia32/builtins-ia32.cc |
@@ -473,7 +473,7 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ mov(eax, FieldOperand(ebx, JSGeneratorObject::kOperandStackOffset)); |
{ |
Label done_loop, loop; |
- __ Move(ecx, Smi::kZero); |
+ __ Move(ecx, Smi::FromInt(0)); |
__ bind(&loop); |
__ cmp(ecx, FieldOperand(eax, FixedArray::kLengthOffset)); |
__ j(equal, &done_loop, Label::kNear); |
@@ -1010,7 +1010,7 @@ void Builtins::Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm) { |
// trampoline. |
Smi* interpreter_entry_return_pc_offset( |
masm->isolate()->heap()->interpreter_entry_return_pc_offset()); |
- DCHECK_NE(interpreter_entry_return_pc_offset, Smi::kZero); |
+ DCHECK_NE(interpreter_entry_return_pc_offset, Smi::FromInt(0)); |
__ LoadHeapObject(ebx, |
masm->isolate()->builtins()->InterpreterEntryTrampoline()); |
__ add(ebx, Immediate(interpreter_entry_return_pc_offset->value() + |
@@ -1923,7 +1923,7 @@ void Builtins::Generate_NumberConstructor_ConstructStub(MacroAssembler* masm) { |
__ mov(ebx, Operand(esp, eax, times_pointer_size, 0)); |
__ jmp(&done, Label::kNear); |
__ bind(&no_arguments); |
- __ Move(ebx, Smi::kZero); |
+ __ Move(ebx, Smi::FromInt(0)); |
__ bind(&done); |
} |
@@ -2821,7 +2821,7 @@ void Builtins::Generate_AllocateInNewSpace(MacroAssembler* masm) { |
__ PopReturnAddressTo(ecx); |
__ Push(edx); |
__ PushReturnAddressFrom(ecx); |
- __ Move(esi, Smi::kZero); |
+ __ Move(esi, Smi::FromInt(0)); |
__ TailCallRuntime(Runtime::kAllocateInNewSpace); |
} |
@@ -2836,7 +2836,7 @@ void Builtins::Generate_AllocateInOldSpace(MacroAssembler* masm) { |
__ Push(edx); |
__ Push(Smi::FromInt(AllocateTargetSpace::encode(OLD_SPACE))); |
__ PushReturnAddressFrom(ecx); |
- __ Move(esi, Smi::kZero); |
+ __ Move(esi, Smi::FromInt(0)); |
__ TailCallRuntime(Runtime::kAllocateInTargetSpace); |
} |
@@ -2849,7 +2849,7 @@ void Builtins::Generate_Abort(MacroAssembler* masm) { |
__ PopReturnAddressTo(ecx); |
__ Push(edx); |
__ PushReturnAddressFrom(ecx); |
- __ Move(esi, Smi::kZero); |
+ __ Move(esi, Smi::FromInt(0)); |
__ TailCallRuntime(Runtime::kAbort); |
} |