summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/number-divide.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/number-divide.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/number-divide.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/compiler/number-divide.js b/deps/v8/test/mjsunit/compiler/number-divide.js
index 1c7710c1f8..c971ad013e 100644
--- a/deps/v8/test/mjsunit/compiler/number-divide.js
+++ b/deps/v8/test/mjsunit/compiler/number-divide.js
@@ -10,6 +10,7 @@
(function() {
// We need a separately polluted % with NumberOrOddball feedback.
function bar(x) { return x / 2; }
+ %EnsureFeedbackVectorForFunction(bar);
bar(undefined); // The % feedback is now NumberOrOddball.
// Now just use the gadget above in a way that only after RETYPE
@@ -40,6 +41,7 @@
(function() {
// We need a separately polluted % with NumberOrOddball feedback.
function bar(x) { return x / 2; }
+ %EnsureFeedbackVectorForFunction(bar);
bar(undefined); // The % feedback is now NumberOrOddball.
// Now just use the gadget above in a way that only after RETYPE