summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/regress-shift-right-logical.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/regress-shift-right-logical.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/regress-shift-right-logical.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/compiler/regress-shift-right-logical.js b/deps/v8/test/mjsunit/compiler/regress-shift-right-logical.js
index f2be2ad52f..41ea33ae33 100644
--- a/deps/v8/test/mjsunit/compiler/regress-shift-right-logical.js
+++ b/deps/v8/test/mjsunit/compiler/regress-shift-right-logical.js
@@ -14,6 +14,7 @@
return 1 >>> tmp1;
}
+ %PrepareFunctionForOptimization(f);
%OptimizeFunctionOnNextCall(f);
assertEquals(0, f());
})();
@@ -36,6 +37,7 @@
return f;
})();
+ %PrepareFunctionForOptimization(f);
%OptimizeFunctionOnNextCall(f);
assertEquals(0, f());
})();