Index: src/builtins/ia32/builtins-ia32.cc |
diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc |
index 29dec816d0d0a520e760523e3331e9c19578d818..55f5bda940f94d6b9e4ed5d39be664ca165203d1 100644 |
--- a/src/builtins/ia32/builtins-ia32.cc |
+++ b/src/builtins/ia32/builtins-ia32.cc |
@@ -1043,7 +1043,7 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
__ mov(map, FieldOperand(map, SharedFunctionInfo::kOptimizedCodeMapOffset)); |
__ mov(index, FieldOperand(map, FixedArray::kLengthOffset)); |
__ cmp(index, Immediate(Smi::FromInt(2))); |
- __ j(less, &try_shared); |
+ __ j(less, &gotta_call_runtime); |
// edx : native context |
// ebx : length / index |
@@ -1103,7 +1103,9 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
__ cmp(index, Immediate(Smi::FromInt(1))); |
__ j(greater, &loop_top); |
- // We found no code. Try the SharedFunctionInfo. |
+ // We found no code. |
+ __ jmp(&gotta_call_runtime); |
+ |
__ bind(&try_shared); |
__ pop(closure); |
__ pop(new_target); |