| Index: src/builtins/mips64/builtins-mips64.cc
|
| diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc
|
| index 87fc85882eaaed9b08b4fe4b7943e9a5c5710bb4..32602ab148378fa1511f50d64542059f01a4daf6 100644
|
| --- a/src/builtins/mips64/builtins-mips64.cc
|
| +++ b/src/builtins/mips64/builtins-mips64.cc
|
| @@ -1359,7 +1359,7 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
|
| __ ld(map, FieldMemOperand(closure, JSFunction::kSharedFunctionInfoOffset));
|
| __ ld(map, FieldMemOperand(map, SharedFunctionInfo::kOptimizedCodeMapOffset));
|
| __ ld(index, FieldMemOperand(map, FixedArray::kLengthOffset));
|
| - __ Branch(&try_shared, lt, index, Operand(Smi::FromInt(2)));
|
| + __ Branch(&gotta_call_runtime, lt, index, Operand(Smi::FromInt(2)));
|
|
|
| // a3 : native context
|
| // a2 : length / index
|
| @@ -1424,7 +1424,9 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
|
| Operand(Smi::FromInt(SharedFunctionInfo::kEntryLength)));
|
| __ Branch(&loop_top, gt, index, Operand(Smi::FromInt(1)));
|
|
|
| - // We found no code. Try the SharedFunctionInfo.
|
| + // We found no code.
|
| + __ jmp(&gotta_call_runtime);
|
| +
|
| __ bind(&try_shared);
|
| __ pop(closure);
|
| __ pop(new_target);
|
|
|