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

Unified Diff: src/compiler.cc

Issue 2497573003: Reland: [compiler] Fix flipped boolean checks in marked tier-up (Closed)
Patch Set: Created 4 years, 1 month 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/ppc/builtins-ppc.cc ('k') | src/runtime/runtime-test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 05ca9bb349757fa9d1759d2112209c91bdd69e9c..7a29459902c3213e9f09c64b5c15424b5b4ccd47 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -879,7 +879,7 @@ MaybeHandle<Code> GetLazyCode(Handle<JSFunction> function) {
}
Handle<Code> code;
- if (!GetBaselineCode(function).ToHandle(&code)) {
+ if (GetBaselineCode(function).ToHandle(&code)) {
return code;
}
break;
@@ -893,8 +893,8 @@ MaybeHandle<Code> GetLazyCode(Handle<JSFunction> function) {
Handle<Code> code;
// TODO(leszeks): Look into performing this compilation concurrently.
- if (!GetOptimizedCode(function, Compiler::NOT_CONCURRENT)
- .ToHandle(&code)) {
+ if (GetOptimizedCode(function, Compiler::NOT_CONCURRENT)
+ .ToHandle(&code)) {
return code;
}
break;
« no previous file with comments | « src/builtins/ppc/builtins-ppc.cc ('k') | src/runtime/runtime-test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698