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

Side by Side Diff: test/message/wasm-trap.js

Issue 2563673002: [wasm] Generate correct locations for error messages (Closed)
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // Flags: --expose-wasm
6
7 load("test/mjsunit/wasm/wasm-constants.js");
8 load("test/mjsunit/wasm/wasm-module-builder.js");
9
10 var builder = new WasmModuleBuilder();
11 builder.addFunction('main', kSig_i_v)
12 .addBody([kExprI32Const, 2, kExprI32Const, 0, kExprI32DivU])
13 .exportFunc();
14 var module = builder.instantiate();
15 module.exports.main();
OLDNEW
« src/d8.cc ('K') | « src/messages.cc ('k') | test/message/wasm-trap.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698