diff options
Diffstat (limited to 'deps/v8/src/wasm/wasm-opcodes.cc')
-rw-r--r-- | deps/v8/src/wasm/wasm-opcodes.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/wasm/wasm-opcodes.cc b/deps/v8/src/wasm/wasm-opcodes.cc index 8f81b81a50..2a00a73cbd 100644 --- a/deps/v8/src/wasm/wasm-opcodes.cc +++ b/deps/v8/src/wasm/wasm-opcodes.cc @@ -4,13 +4,14 @@ #include "src/wasm/wasm-opcodes.h" #include "src/messages.h" +#include "src/runtime/runtime.h" #include "src/signature.h" namespace v8 { namespace internal { namespace wasm { -typedef Signature<LocalType> FunctionSig; +typedef Signature<ValueType> FunctionSig; const char* WasmOpcodes::OpcodeName(WasmOpcode opcode) { switch (opcode) { @@ -69,7 +70,7 @@ enum WasmOpcodeSig { FOREACH_SIGNATURE(DECLARE_SIG_ENUM) }; // TODO(titzer): not static-initializer safe. Wrap in LazyInstance. #define DECLARE_SIG(name, ...) \ - static LocalType kTypes_##name[] = {__VA_ARGS__}; \ + static ValueType kTypes_##name[] = {__VA_ARGS__}; \ static const FunctionSig kSig_##name( \ 1, static_cast<int>(arraysize(kTypes_##name)) - 1, kTypes_##name); |