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