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

Side by Side Diff: test/mjsunit/wasm/compiled-module-management.js

Issue 2428413004: Revert "[compiler] Ship Ignition for all TurboFan code." (Closed)
Patch Set: Created 4 years, 2 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/mjsunit.status ('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
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO (mtrofin): re-enable ignition (v8:5345) 5 // TODO (mtrofin): re-enable ignition (v8:5345)
6 // Flags: --no-turbo --no-ignition --no-ignition-staging 6 // Flags: --no-ignition --no-ignition-staging
7 // Flags: --expose-wasm --expose-gc --allow-natives-syntax 7 // Flags: --expose-wasm --expose-gc --allow-natives-syntax
8 8
9 load("test/mjsunit/wasm/wasm-constants.js"); 9 load("test/mjsunit/wasm/wasm-constants.js");
10 load("test/mjsunit/wasm/wasm-module-builder.js"); 10 load("test/mjsunit/wasm/wasm-module-builder.js");
11 11
12 12
13 (function CompiledModuleInstancesAreGCed() { 13 (function CompiledModuleInstancesAreGCed() {
14 var builder = new WasmModuleBuilder(); 14 var builder = new WasmModuleBuilder();
15 15
16 builder.addMemory(1,1, true); 16 builder.addMemory(1,1, true);
(...skipping 24 matching lines...) Expand all
41 assertEquals(2, i2.exports.f()); 41 assertEquals(2, i2.exports.f());
42 i2 = null; 42 i2 = null;
43 gc(); 43 gc();
44 %ValidateWasmModuleState(module); 44 %ValidateWasmModuleState(module);
45 var i4 = new WebAssembly.Instance(module, {getValue: () => 4}); 45 var i4 = new WebAssembly.Instance(module, {getValue: () => 4});
46 assertEquals(4, i4.exports.f()); 46 assertEquals(4, i4.exports.f());
47 module = null; 47 module = null;
48 gc(); 48 gc();
49 %ValidateWasmOrphanedInstance(i4); 49 %ValidateWasmOrphanedInstance(i4);
50 })(); 50 })();
OLDNEW
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698