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

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

Issue 2448933002: [compiler] Make SFI "optimize" flag a "tier up" flag (Closed)
Patch Set: Do some renaming and remove a DCHECK 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
« no previous file with comments | « src/builtins/mips64/builtins-mips64.cc ('k') | src/builtins/s390/builtins-s390.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/ppc/builtins-ppc.cc
diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc
index 6e6ce4341e2587d1876bbceba8201650d9f47dc6..a54eee942d112f3a9fdf767d57a8e0c135ab7d81 100644
--- a/src/builtins/ppc/builtins-ppc.cc
+++ b/src/builtins/ppc/builtins-ppc.cc
@@ -1502,12 +1502,10 @@ void Builtins::Generate_CompileLazy(MacroAssembler* masm) {
__ bind(&try_shared);
__ LoadP(entry,
FieldMemOperand(closure, JSFunction::kSharedFunctionInfoOffset));
- // Is the shared function marked for optimization?
- __ lbz(r8,
- FieldMemOperand(
- entry, SharedFunctionInfo::kWasMarkedForOptimizationByteOffset));
- __ TestBit(r8, SharedFunctionInfo::kWasMarkedForOptimizationBitWithinByte,
- r0);
+ // Is the shared function marked for tier up?
+ __ lbz(r8, FieldMemOperand(entry,
+ SharedFunctionInfo::kMarkedForTierUpByteOffset));
+ __ TestBit(r8, SharedFunctionInfo::kMarkedForTierUpBitWithinByte, r0);
__ beq(&gotta_call_runtime);
// Is the full code valid?
__ LoadP(entry, FieldMemOperand(entry, SharedFunctionInfo::kCodeOffset));
« no previous file with comments | « src/builtins/mips64/builtins-mips64.cc ('k') | src/builtins/s390/builtins-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698