diff options
Diffstat (limited to 'deps/v8/src/wasm/function-body-decoder.cc')
-rw-r--r-- | deps/v8/src/wasm/function-body-decoder.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/src/wasm/function-body-decoder.cc b/deps/v8/src/wasm/function-body-decoder.cc index aa327821fb..c5aab2b593 100644 --- a/deps/v8/src/wasm/function-body-decoder.cc +++ b/deps/v8/src/wasm/function-body-decoder.cc @@ -4,6 +4,7 @@ #include "src/wasm/function-body-decoder.h" +#include "src/codegen/assembler-inl.h" #include "src/flags/flags.h" #include "src/handles/handles.h" #include "src/objects/objects-inl.h" @@ -71,6 +72,8 @@ unsigned OpcodeLength(const byte* pc, const byte* end) { return WasmDecoder<Decoder::kNoValidation>::OpcodeLength(&decoder, pc); } +bool CheckHardwareSupportsSimd() { return CpuFeatures::SupportsWasmSimd128(); } + std::pair<uint32_t, uint32_t> StackEffect(const WasmModule* module, const FunctionSig* sig, const byte* pc, const byte* end) { |