| Index: src/builtins/arm/builtins-arm.cc
|
| diff --git a/src/builtins/arm/builtins-arm.cc b/src/builtins/arm/builtins-arm.cc
|
| index b739545996e3e206ce3eab1a24ccbb56cda843b9..6bc9a2a2bebe8391721354cf6e08fb9ffbf0e1b4 100644
|
| --- a/src/builtins/arm/builtins-arm.cc
|
| +++ b/src/builtins/arm/builtins-arm.cc
|
| @@ -1482,13 +1482,10 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
|
| __ pop(argument_count);
|
| __ ldr(entry,
|
| FieldMemOperand(closure, JSFunction::kSharedFunctionInfoOffset));
|
| - // Is the shared function marked for optimization?
|
| - __ ldrb(r5,
|
| - FieldMemOperand(
|
| - entry, SharedFunctionInfo::kWasMarkedForOptimizationByteOffset));
|
| - __ tst(
|
| - r5,
|
| - Operand(1 << SharedFunctionInfo::kWasMarkedForOptimizationBitWithinByte));
|
| + // Is the shared function marked for tier up?
|
| + __ ldrb(r5, FieldMemOperand(entry,
|
| + SharedFunctionInfo::kMarkedForTierUpByteOffset));
|
| + __ tst(r5, Operand(1 << SharedFunctionInfo::kMarkedForTierUpBitWithinByte));
|
| __ b(eq, &gotta_call_runtime_no_stack);
|
| // Is the full code valid?
|
| __ ldr(entry, FieldMemOperand(entry, SharedFunctionInfo::kCodeOffset));
|
|
|