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

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

Issue 824843002: [turbofan] Fix missing ChangeUint32ToUint64 in lowering of LoadBuffer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 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
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/regress-444695.js
diff --git a/test/mjsunit/compiler/regress-443744.js b/test/mjsunit/compiler/regress-444695.js
similarity index 55%
copy from test/mjsunit/compiler/regress-443744.js
copy to test/mjsunit/compiler/regress-444695.js
index 5e7f3bc9dbd50cf112e278248e39e78cd3d5374c..168ae25c7052d8abbe47bac9b571bac1b2eceb3a 100644
--- a/test/mjsunit/compiler/regress-443744.js
+++ b/test/mjsunit/compiler/regress-444695.js
@@ -2,13 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var m = (function(stdlib, foreign, heap) {
+var foo = (function(stdlib, foreign, heap) {
"use asm";
var MEM = new stdlib.Uint8Array(heap);
- function f(x) {
- x = x | 0;
- MEM[x] = 0;
- }
- return {f: f};
-})(this, {}, new ArrayBuffer(1));
-m.f(-926416896 * 32 * 1024);
+ function foo(x) { MEM[x | 0] *= 0; }
+ return {foo: foo};
+})(this, {}, new ArrayBuffer(1)).foo;
+foo(-926416896 * 8 * 1024);
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698