Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1702)

Unified Diff: test/mjsunit/compiler/regress-446156.js

Issue 1500543002: [es6] Unify ArrayBuffer and SharedArrayBuffer constructors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/mjsunit/compiler/regress-446156.js
diff --git a/test/mjsunit/compiler/regress-446156.js b/test/mjsunit/compiler/regress-446156.js
index f3cd2dd94ee0a466f9b1ee00fce9172588e1af88..9a7915deed252ec3b3a430917d28601fc2890f99 100644
--- a/test/mjsunit/compiler/regress-446156.js
+++ b/test/mjsunit/compiler/regress-446156.js
@@ -8,4 +8,4 @@
var MEM = new Uint8ClampedArray(heap);
function foo( ) { MEM[0] ^= 1; }
return {foo: foo};
-})(this, {}, new ArrayBuffer( ) ).foo();
+})(this, {}, new ArrayBuffer(0) ).foo();

Powered by Google App Engine
This is Rietveld 408576698