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, |