// Copyright 2018 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: --wasm-lazy-compilationload('test/mjsunit/wasm/wasm-module-builder.js');constbuilder1=newWasmModuleBuilder();builder1.addFunction('mul',kSig_i_ii).addBody([kExprGetLocal,0,kExprGetLocal,1,kExprI32Mul]).exportFunc();constmul=builder1.instantiate().exports.mul;consttable=newWebAssembly.Table({element:'anyfunc',initial:10,});constbuilder2=newWasmModuleBuilder();constmul_import=builder2.addImport('q','wasm_mul',kSig_i_ii);builder2.addImportedTable('q','table');constglob_import=builder2.addImportedGlobal('q','glob',kWasmI32);