2019-08-01 08:38:30 +02:00
|
|
|
// Copyright 2019 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.
|
|
|
|
|
2021-08-29 14:20:49 +02:00
|
|
|
d8.file.execute('test/mjsunit/wasm/wasm-module-builder.js');
|
2019-08-01 08:38:30 +02:00
|
|
|
|
|
|
|
let builder = new WasmModuleBuilder();
|
|
|
|
builder.addFunction('f', kSig_i_v).addBody([]);
|
|
|
|
new WebAssembly.Module(builder.toBuffer());
|