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

Unified Diff: src/runtime/runtime-test.cc

Issue 2492523007: Revert of [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/compiler.cc ('k') | test/mjsunit/shared-function-tier-up-default.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime-test.cc
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc
index 7054192a0f688aae0ece10d2c114aaa15dcdf802..6caa16f1c6eb82e79edf044ab5bbc7b09128bce7 100644
--- a/src/runtime/runtime-test.cc
+++ b/src/runtime/runtime-test.cc
@@ -267,9 +267,6 @@
}
if (function->IsOptimized() && function->code()->is_turbofanned()) {
return Smi::FromInt(7); // 7 == "TurboFan compiler".
- }
- if (function->IsInterpreted()) {
- return Smi::FromInt(8); // 8 == "Interpreted".
}
return function->IsOptimized() ? Smi::FromInt(1) // 1 == "yes".
: Smi::FromInt(2); // 2 == "no".
« no previous file with comments | « src/compiler.cc ('k') | test/mjsunit/shared-function-tier-up-default.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698