bff42d3594
R=clemensh@chromium.org Bug: chromium:766003,chromium:772332,chromium:771243 Change-Id: I1e2df014f31a87fd94154277d1a415ec359d42df Reviewed-on: https://chromium-review.googlesource.com/721666 Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Commit-Queue: Ben Titzer <titzer@chromium.org> Cr-Commit-Position: refs/heads/master@{#48635}
18 lines
643 B
JavaScript
18 lines
643 B
JavaScript
// Copyright 2017 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.
|
|
|
|
// Flags: --expose-wasm --wasm-interpret-all
|
|
|
|
load('test/mjsunit/wasm/wasm-constants.js');
|
|
load('test/mjsunit/wasm/wasm-module-builder.js');
|
|
|
|
__v_6 = new WasmModuleBuilder();
|
|
__v_6.addFunction('exp1', kSig_i_i).addBody([kExprUnreachable]).exportFunc();
|
|
__v_7 = new WasmModuleBuilder();
|
|
__v_7.addImport('__v_11', '__v_11', kSig_i_i);
|
|
try {
|
|
; } catch(e) {; }
|
|
__v_8 = __v_6.instantiate().exports.exp1;
|
|
__v_9 = __v_7.instantiate({__v_11: {__v_11: __v_8}}).exports.call_imp;
|