blob: 256af3eeeb44d535d2d35db7908efcd3dc6a1ed1 [file] [log] [blame]
Emily Bernierd0a1eb72015-03-24 16:35:39 -04001// Copyright 2014 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5var foo = (function Module(global, env, buffer) {
6 "use asm";
7 var i8 = new global.Int8Array(buffer);
8 function foo() { i8[0] += 4294967295; }
9 return { foo: foo };
10})(this, {}, new ArrayBuffer(64 * 1024)).foo;
11foo();