summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/generated-transition-stub.js
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-08-01 08:38:30 +0200
committerMichaël Zasso <targos@protonmail.com>2019-08-01 12:53:56 +0200
commit2dcc3665abf57c3607cebffdeeca062f5894885d (patch)
tree4f560748132edcfb4c22d6f967a7e80d23d7ea2c /deps/v8/test/mjsunit/generated-transition-stub.js
parent1ee47d550c6de132f06110aa13eceb7551d643b3 (diff)
downloadandroid-node-v8-2dcc3665abf57c3607cebffdeeca062f5894885d.tar.gz
android-node-v8-2dcc3665abf57c3607cebffdeeca062f5894885d.tar.bz2
android-node-v8-2dcc3665abf57c3607cebffdeeca062f5894885d.zip
deps: update V8 to 7.6.303.28
PR-URL: https://github.com/nodejs/node/pull/28016 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'deps/v8/test/mjsunit/generated-transition-stub.js')
-rw-r--r--deps/v8/test/mjsunit/generated-transition-stub.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/generated-transition-stub.js b/deps/v8/test/mjsunit/generated-transition-stub.js
index e6d949bbaa..8da3265053 100644
--- a/deps/v8/test/mjsunit/generated-transition-stub.js
+++ b/deps/v8/test/mjsunit/generated-transition-stub.js
@@ -17,6 +17,7 @@ function test() {
// Test PACKED SMI -> PACKED DOUBLE
//
+ %PrepareFunctionForOptimization(transition1);
const a1 = [0, 1, 2, 3, 4];
transition1(a1, 0, 2.5);
const a2 = [0, 1, 2, 3, 4];
@@ -59,6 +60,7 @@ function test() {
a[i] = v;
}
+ %PrepareFunctionForOptimization(transition2);
const b1 = [0, 1, 2, , 4];
transition2(b1, 0, 2.5);
const b2 = [0, 1, 2, , 4];
@@ -93,6 +95,7 @@ function test() {
a[i] = v;
}
+ %PrepareFunctionForOptimization(transition3);
const c1 = [0, 1, 2, 3.5, 4];
transition3(c1, 0, new Object());
const c2 = [0, 1, 2, 3.5, 4];
@@ -147,6 +150,7 @@ function test() {
a[i] = v;
}
+ %PrepareFunctionForOptimization(transition4);
const d1 = [0, 1, , 3.5, 4];
transition4(d1, 0, new Object());
const d2 = [0, 1, , 3.5, 4];