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

Unified Diff: test/mjsunit/mjsunit.js

Issue 2715153005: Remove shared-function-tier-up-default.js (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/mjsunit.js
diff --git a/test/mjsunit/mjsunit.js b/test/mjsunit/mjsunit.js
index ec17f1d76afe8be552042bdbc27a233d846c3f9f..bc3afe502fc6d256d733d13eefb9589e9a9cd4f0 100644
--- a/test/mjsunit/mjsunit.js
+++ b/test/mjsunit/mjsunit.js
@@ -140,9 +140,6 @@ var isAlwaysOptimize;
// Returns true if given function in interpreted.
var isInterpreted;
-// Returns true if given function is compiled by a base-line compiler.
-var isBaselined;
-
// Returns true if given function is optimized.
var isOptimized;
@@ -544,16 +541,6 @@ var isTurboFanned;
(opt_status & V8OptimizationStatus.kInterpreted) !== 0;
}
- // NOTE: This predicate also returns true for functions that have never
- // been compiled (i.e. that have LazyCompile stub as a code).
- isBaselined = function isBaselined(fun) {
- var opt_status = OptimizationStatus(fun, "");
- assertTrue((opt_status & V8OptimizationStatus.kIsFunction) !== 0,
- "not a function");
- return (opt_status & V8OptimizationStatus.kOptimized) === 0 &&
- (opt_status & V8OptimizationStatus.kInterpreted) === 0;
- }
-
isOptimized = function isOptimized(fun) {
var opt_status = OptimizationStatus(fun, "");
assertTrue((opt_status & V8OptimizationStatus.kIsFunction) !== 0,
« no previous file with comments | « no previous file | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698