Index: src/builtins/ia32/builtins-ia32.cc |
diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc |
index 76cdd0620e84f0acba824d130df67d6394343095..cc51777d1f5f70e0fd0b3baf3d841f42bf882252 100644 |
--- a/src/builtins/ia32/builtins-ia32.cc |
+++ b/src/builtins/ia32/builtins-ia32.cc |
@@ -1161,12 +1161,9 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) { |
__ pop(new_target); |
__ pop(argument_count); |
__ mov(entry, FieldOperand(closure, JSFunction::kSharedFunctionInfoOffset)); |
- // Is the shared function marked for optimization? |
- __ test_b( |
- FieldOperand(entry, |
- SharedFunctionInfo::kWasMarkedForOptimizationByteOffset), |
- Immediate( |
- 1 << SharedFunctionInfo::kWasMarkedForOptimizationBitWithinByte)); |
+ // Is the shared function marked for tier up? |
+ __ test_b(FieldOperand(entry, SharedFunctionInfo::kMarkedForTierUpByteOffset), |
+ Immediate(1 << SharedFunctionInfo::kMarkedForTierUpBitWithinByte)); |
__ j(not_zero, &gotta_call_runtime_no_stack); |
// Is the full code valid? |
__ mov(entry, FieldOperand(entry, SharedFunctionInfo::kCodeOffset)); |