| Index: src/builtins/ia32/builtins-ia32.cc
|
| diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc
|
| index 61b547a88b26fbfb87e9cb5af503a50e27d1134b..babb3ba8542af956c38a827cf560db13dfe871d7 100644
|
| --- a/src/builtins/ia32/builtins-ia32.cc
|
| +++ b/src/builtins/ia32/builtins-ia32.cc
|
| @@ -1040,7 +1040,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, &gotta_call_runtime);
|
| + __ j(less, &try_shared);
|
|
|
| // edx : native context
|
| // ebx : length / index
|
| @@ -1100,9 +1100,7 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
|
| __ cmp(index, Immediate(Smi::FromInt(1)));
|
| __ j(greater, &loop_top);
|
|
|
| - // We found no code.
|
| - __ jmp(&gotta_call_runtime);
|
| -
|
| + // We found no code. Try the SharedFunctionInfo.
|
| __ bind(&try_shared);
|
| __ pop(closure);
|
| __ pop(new_target);
|
|
|