summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-undefined-nan.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-undefined-nan.js')
-rw-r--r--deps/v8/test/mjsunit/regress/regress-undefined-nan.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-undefined-nan.js b/deps/v8/test/mjsunit/regress/regress-undefined-nan.js
index 93106c5eb1..0e9b3d3f4a 100644
--- a/deps/v8/test/mjsunit/regress/regress-undefined-nan.js
+++ b/deps/v8/test/mjsunit/regress/regress-undefined-nan.js
@@ -10,8 +10,8 @@ function loader(dst, src, i) {
var ab = new ArrayBuffer(8);
var i_view = new Int32Array(ab);
-i_view[0] = 0xFFF7FFFF;
-i_view[1] = 0xFFF7FFFF;
+i_view[0] = %GetHoleNaNUpper()
+i_view[1] = %GetHoleNaNLower();
var f_view = new Float64Array(ab);
var fixed_double_elements = new Float64Array(1);