summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/math-ceil.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/math-ceil.js')
-rw-r--r--deps/v8/test/mjsunit/math-ceil.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/math-ceil.js b/deps/v8/test/mjsunit/math-ceil.js
index 314fd0a08b..d0999b07f3 100644
--- a/deps/v8/test/mjsunit/math-ceil.js
+++ b/deps/v8/test/mjsunit/math-ceil.js
@@ -9,6 +9,7 @@ var test_id = 0;
function testCeil(expect, input) {
var test = new Function('n',
'"' + (test_id++) + '";return Math.ceil(n)');
+ %PrepareFunctionForOptimization(test);
assertEquals(expect, test(input));
assertEquals(expect, test(input));
assertEquals(expect, test(input));