| Index: src/builtins/ppc/builtins-ppc.cc
|
| diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc
|
| index c0f5d299b750a46b5efdecb3b9af58fbc631d138..68786fa3bfcc4a88a7d249f183d3535e9d9e93da 100644
|
| --- a/src/builtins/ppc/builtins-ppc.cc
|
| +++ b/src/builtins/ppc/builtins-ppc.cc
|
| @@ -1372,7 +1372,7 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
|
| FieldMemOperand(map, SharedFunctionInfo::kOptimizedCodeMapOffset));
|
| __ LoadP(index, FieldMemOperand(map, FixedArray::kLengthOffset));
|
| __ CmpSmiLiteral(index, Smi::FromInt(2), r0);
|
| - __ blt(&gotta_call_runtime);
|
| + __ blt(&try_shared);
|
|
|
| // r10 : native context
|
| // r5 : length / index
|
| @@ -1437,9 +1437,7 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
|
| __ CmpSmiLiteral(index, Smi::FromInt(1), r0);
|
| __ bgt(&loop_top);
|
|
|
| - // We found no code.
|
| - __ b(&gotta_call_runtime);
|
| -
|
| + // We found no code. Try the SharedFunctionInfo.
|
| __ bind(&try_shared);
|
| __ LoadP(entry,
|
| FieldMemOperand(closure, JSFunction::kSharedFunctionInfoOffset));
|
|
|