Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 0551365d1635006252398ab301df1108ad4de7e0..2a962b32f9b38bd4efc30a55b0c00bd2f9b83335 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -4853,7 +4853,7 @@ void CallApiGetterStub::Generate(MacroAssembler* masm) { |
__ Push(kScratchRegister); // return value default |
__ PushAddress(ExternalReference::isolate_address(isolate())); |
__ Push(holder); |
- __ Push(Smi::kZero); // should_throw_on_error -> false |
+ __ Push(Smi::FromInt(0)); // should_throw_on_error -> false |
__ Push(FieldOperand(callback, AccessorInfo::kNameOffset)); |
__ PushReturnAddressFrom(scratch); |