Index: src/builtins/mips/builtins-mips.cc |
diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc |
index 88e5f4e398196ee192586ca61b98c5f26f1232b4..ca48d152ef857e21faffd42f68dca15592897864 100644 |
--- a/src/builtins/mips/builtins-mips.cc |
+++ b/src/builtins/mips/builtins-mips.cc |
@@ -1480,13 +1480,11 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
__ pop(new_target); |
__ pop(argument_count); |
__ lw(entry, FieldMemOperand(closure, JSFunction::kSharedFunctionInfoOffset)); |
- // Is the shared function marked for optimization? |
- __ lbu(t1, |
- FieldMemOperand( |
- entry, SharedFunctionInfo::kWasMarkedForOptimizationByteOffset)); |
- __ And( |
- t1, t1, |
- Operand(1 << SharedFunctionInfo::kWasMarkedForOptimizationBitWithinByte)); |
+ // Is the shared function marked for tier up? |
+ __ lbu(t1, FieldMemOperand(entry, |
+ SharedFunctionInfo::kMarkedForTierUpByteOffset)); |
+ __ And(t1, t1, |
+ Operand(1 << SharedFunctionInfo::kMarkedForTierUpBitWithinByte)); |
__ Branch(&gotta_call_runtime_no_stack, ne, t1, Operand(zero_reg)); |
// Is the full code valid? |
__ lw(entry, FieldMemOperand(entry, SharedFunctionInfo::kCodeOffset)); |