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

Side by Side Diff: test/mjsunit/regress/wasm/regression-727560.js

Issue 2917603002: [wasm] Fix WasmMemoryObject constructor for when a module has no initial memory (Closed)
Patch Set: Clemens's review Created 3 years, 6 months 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 unified diff | Download patch
« no previous file with comments | « test/mjsunit/regress/wasm/regression-724972.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 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
5 load('test/mjsunit/wasm/wasm-constants.js');
6 load('test/mjsunit/wasm/wasm-module-builder.js');
7
8 {
9 let builder = new WasmModuleBuilder();
10 builder.addMemory();
11 builder.exportMemoryAs("exported_mem");
12 i1 = builder.instantiate();
13 }
14 {
15 let builder = new WasmModuleBuilder();
16 builder.addImportedMemory("fil", "imported_mem");
17 i2 = builder.instantiate({fil: {imported_mem: i1.exports.exported_mem}});
18 }
OLDNEW
« no previous file with comments | « test/mjsunit/regress/wasm/regression-724972.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698