diff options
Diffstat (limited to 'deps/v8/src/wasm/function-compiler.h')
-rw-r--r-- | deps/v8/src/wasm/function-compiler.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/deps/v8/src/wasm/function-compiler.h b/deps/v8/src/wasm/function-compiler.h index a511f19b765..c66c748064a 100644 --- a/deps/v8/src/wasm/function-compiler.h +++ b/deps/v8/src/wasm/function-compiler.h @@ -55,7 +55,6 @@ struct WasmCompilationResult { enum Kind : int8_t { kFunction, kWasmToJsWrapper, - kInterpreterEntry, }; bool succeeded() const { return code_desc.buffer != nullptr; } @@ -72,14 +71,15 @@ struct WasmCompilationResult { ExecutionTier requested_tier; ExecutionTier result_tier; Kind kind = kFunction; + ForDebugging for_debugging = kNoDebugging; }; class V8_EXPORT_PRIVATE WasmCompilationUnit final { public: static ExecutionTier GetBaselineExecutionTier(const WasmModule*); - WasmCompilationUnit(int index, ExecutionTier tier) - : func_index_(index), tier_(tier) {} + WasmCompilationUnit(int index, ExecutionTier tier, ForDebugging for_debugging) + : func_index_(index), tier_(tier), for_debugging_(for_debugging) {} WasmCompilationResult ExecuteCompilation( WasmEngine*, CompilationEnv*, const std::shared_ptr<WireBytesStorage>&, @@ -103,6 +103,7 @@ class V8_EXPORT_PRIVATE WasmCompilationUnit final { int func_index_; ExecutionTier tier_; + ForDebugging for_debugging_; }; // {WasmCompilationUnit} should be trivially copyable and small enough so we can |