summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/inlined-call-polymorphic.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/inlined-call-polymorphic.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/inlined-call-polymorphic.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/compiler/inlined-call-polymorphic.js b/deps/v8/test/mjsunit/compiler/inlined-call-polymorphic.js
index f56cae9c4e..deb914dc20 100644
--- a/deps/v8/test/mjsunit/compiler/inlined-call-polymorphic.js
+++ b/deps/v8/test/mjsunit/compiler/inlined-call-polymorphic.js
@@ -16,7 +16,10 @@ function inline_polymorphic(f) {
%PrepareFunctionForOptimization(inline_polymorphic);
inline_polymorphic(make_closure());
inline_polymorphic(make_closure());
-%OptimizeFunctionOnNextCall(inline_polymorphic);
+// Compile using top tier since we need value numbering phase for the
+// TurbofanStaticAssert to deduce answer is 42 at compile time. In Turboprop
+// this phase is disabled.
+%OptimizeFunctionForTopTier(inline_polymorphic);
inline_polymorphic(make_closure());
try {