fb2643c858
TEST=mjsunit/compiler/regress-445859 BUG=chromium:445859 LOG=y R=jarin@chromium.org Review URL: https://codereview.chromium.org/828313002 Cr-Commit-Position: refs/heads/master@{#25951}
12 lines
390 B
JavaScript
12 lines
390 B
JavaScript
// Copyright 2014 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
var foo = (function Module(global, env, buffer) {
|
|
"use asm";
|
|
var i8 = new global.Int8Array(buffer);
|
|
function foo() { i8[0] += 4294967295; }
|
|
return { foo: foo };
|
|
})(this, {}, new ArrayBuffer(64 * 1024)).foo;
|
|
foo();
|