Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: src/builtins/mips/builtins-mips.cc

Issue 2448933002: [compiler] Make SFI "optimize" flag a "tier up" flag (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..cdef3b2f3fd71db11d14affb5c6c4293d7719272 100644
--- a/src/builtins/mips/builtins-mips.cc
+++ b/src/builtins/mips/builtins-mips.cc
@@ -1481,12 +1481,10 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
__ 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));
+ __ lbu(t1, FieldMemOperand(
+ entry, SharedFunctionInfo::kWasMarkedForTierUpByteOffset));
+ __ And(t1, t1,
+ Operand(1 << SharedFunctionInfo::kWasMarkedForTierUpBitWithinByte));
__ Branch(&gotta_call_runtime_no_stack, ne, t1, Operand(zero_reg));
// Is the full code valid?
__ lw(entry, FieldMemOperand(entry, SharedFunctionInfo::kCodeOffset));

Powered by Google App Engine
This is Rietveld 408576698