Index: src/builtins/mips64/builtins-mips64.cc |
diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc |
index 6e20081ea0011b9eec9d75587867e98bd3153567..a5c71dfa01a210d63339ab0127e6ed01eb488b12 100644 |
--- a/src/builtins/mips64/builtins-mips64.cc |
+++ b/src/builtins/mips64/builtins-mips64.cc |
@@ -1371,6 +1371,11 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
SharedFunctionInfo::kOffsetToPreviousContext)); |
__ ld(temp, FieldMemOperand(temp, WeakCell::kValueOffset)); |
__ Branch(&loop_bottom, ne, temp, Operand(native_context)); |
+ // OSR id set to none? |
+ __ ld(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? |
__ ld(temp, FieldMemOperand(array_pointer, |
SharedFunctionInfo::kOffsetToPreviousLiterals)); |