Index: src/builtins/mips/builtins-mips.cc |
diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc |
index f0e0d21b25b33d9312f6e57ad9c7e2b6a21aeff4..b141eb3a3e137641befd04d36c3e62ead18044f0 100644 |
--- a/src/builtins/mips/builtins-mips.cc |
+++ b/src/builtins/mips/builtins-mips.cc |
@@ -1380,6 +1380,11 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
SharedFunctionInfo::kOffsetToPreviousContext)); |
__ lw(temp, FieldMemOperand(temp, WeakCell::kValueOffset)); |
__ Branch(&loop_bottom, ne, temp, Operand(native_context)); |
+ // OSR id set to none? |
+ __ lw(temp, FieldMemOperand(array_pointer, |
+ SharedFunctionInfo::kOffsetToPreviousOsrAstId)); |
+ const int bailout_id = BailoutId::None().ToInt(); |
+ __ Branch(&loop_bottom, ne, temp, Operand(Smi::FromInt(bailout_id))); |
// Literals available? |
__ lw(temp, FieldMemOperand(array_pointer, |
SharedFunctionInfo::kOffsetToPreviousLiterals)); |