Index: src/builtins/s390/builtins-s390.cc |
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc |
index 1e4610727d3352774bb54efae528444217438ffc..41aa4a3c6ce7167760b74836c8ec543afcc22ded 100644 |
--- a/src/builtins/s390/builtins-s390.cc |
+++ b/src/builtins/s390/builtins-s390.cc |
@@ -1380,7 +1380,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); |
// Find literals. |
// r9 : native context |
@@ -1446,7 +1446,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)); |