// Copyright 2021 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: --gdbjitd8.file.execute('test/mjsunit/wasm/wasm-module-builder.js');// A simple test to ensure that passing the --gdbjit flag doesn't crash.(functiontestGdbJitFlag(){constbuilder=newWasmModuleBuilder();builder.addFunction('i32_add',kSig_i_ii).addBody([kExprLocalGet,0,kExprLocalGet,1,kExprI32Add]).exportFunc();constmodule=newWebAssembly.Module(builder.toBuffer());constinstance=newWebAssembly.Instance(module);assertEquals(instance.exports.i32_add(1,2),3);}());