Index: src/builtins/s390/builtins-s390.cc |
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc |
index b571a88781547c43ce3a5f9f3c159e27f2444d66..c32acdc1ca7293f7555eb69fa6250f1af9194c65 100644 |
--- a/src/builtins/s390/builtins-s390.cc |
+++ b/src/builtins/s390/builtins-s390.cc |
@@ -1401,7 +1401,6 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
// ----------------------------------- |
// First lookup code, maybe we don't need to compile! |
Label gotta_call_runtime; |
- Label maybe_call_runtime; |
Label try_shared; |
Label loop_top, loop_bottom; |
@@ -1463,14 +1462,11 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
FieldMemOperand(array_pointer, |
SharedFunctionInfo::kOffsetToPreviousCachedCode)); |
__ LoadP(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. |
// Store code entry in the closure. |
__ AddP(entry, entry, Operand(Code::kHeaderSize - kHeapObjectTag)); |
- |
- Label install_optimized_code_and_tailcall; |
- __ bind(&install_optimized_code_and_tailcall); |
__ StoreP(entry, FieldMemOperand(closure, JSFunction::kCodeEntryOffset), r0); |
__ RecordWriteCodeEntryField(closure, entry, r7); |
@@ -1505,19 +1501,6 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
// We found neither literals nor code. |
__ b(&gotta_call_runtime); |
- __ bind(&maybe_call_runtime); |
- |
- // Last possibility. Check the context free optimized code map entry. |
- __ LoadP(entry, |
- FieldMemOperand(map, FixedArray::kHeaderSize + |
- SharedFunctionInfo::kSharedCodeIndex)); |
- __ LoadP(entry, FieldMemOperand(entry, WeakCell::kValueOffset)); |
- __ JumpIfSmi(entry, &try_shared); |
- |
- // Store code entry in the closure. |
- __ AddP(entry, entry, Operand(Code::kHeaderSize - kHeapObjectTag)); |
- __ b(&install_optimized_code_and_tailcall); |
- |
__ bind(&try_shared); |
// Is the full code valid? |
__ LoadP(entry, |