| Index: src/builtins/mips/builtins-mips.cc
|
| diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc
|
| index a2b6bea626a1323371e0b94efd308b16c22e46ed..1265cd1d3ac03ff4ea556b7416d544a95c0af29f 100644
|
| --- a/src/builtins/mips/builtins-mips.cc
|
| +++ b/src/builtins/mips/builtins-mips.cc
|
| @@ -1371,7 +1371,6 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
|
| // -----------------------------------
|
| // First lookup code, maybe we don't need to compile!
|
| Label gotta_call_runtime, gotta_call_runtime_no_stack;
|
| - Label maybe_call_runtime;
|
| Label try_shared;
|
| Label loop_top, loop_bottom;
|
|
|
| @@ -1435,7 +1434,7 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
|
| FieldMemOperand(array_pointer,
|
| SharedFunctionInfo::kOffsetToPreviousCachedCode));
|
| __ lw(entry, FieldMemOperand(entry, WeakCell::kValueOffset));
|
| - __ JumpIfSmi(entry, &maybe_call_runtime);
|
| + __ JumpIfSmi(entry, &try_shared);
|
|
|
| // Found literals and code. Get them into the closure and return.
|
| __ pop(closure);
|
| @@ -1478,20 +1477,8 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
|
| // We found neither literals nor code.
|
| __ jmp(&gotta_call_runtime);
|
|
|
| - __ bind(&maybe_call_runtime);
|
| - __ pop(closure);
|
| -
|
| - // Last possibility. Check the context free optimized code map entry.
|
| - __ lw(entry, FieldMemOperand(map, FixedArray::kHeaderSize +
|
| - SharedFunctionInfo::kSharedCodeIndex));
|
| - __ lw(entry, FieldMemOperand(entry, WeakCell::kValueOffset));
|
| - __ JumpIfSmi(entry, &try_shared);
|
| -
|
| - // Store code entry in the closure.
|
| - __ Addu(entry, entry, Operand(Code::kHeaderSize - kHeapObjectTag));
|
| - __ jmp(&install_optimized_code_and_tailcall);
|
| -
|
| __ bind(&try_shared);
|
| + __ pop(closure);
|
| __ pop(new_target);
|
| __ pop(argument_count);
|
| // Is the full code valid?
|
|
|