| Index: src/wasm/wasm-interpreter.h
|
| diff --git a/src/wasm/wasm-interpreter.h b/src/wasm/wasm-interpreter.h
|
| index ef74e5b32fb0e874a1c26a52420f7c9f324e5903..217c8b37f0bf8cca7702000b8ef7f142ab07bfc6 100644
|
| --- a/src/wasm/wasm-interpreter.h
|
| +++ b/src/wasm/wasm-interpreter.h
|
| @@ -113,13 +113,12 @@ class V8_EXPORT_PRIVATE WasmInterpreter {
|
| enum State { STOPPED, RUNNING, PAUSED, FINISHED, TRAPPED };
|
|
|
| // Representation of a thread in the interpreter.
|
| - class ThreadImpl;
|
| class V8_EXPORT_PRIVATE Thread {
|
| - ThreadImpl* impl_;
|
| + // Don't instante Threads; they will be allocated as ThreadImpl in the
|
| + // interpreter implementation.
|
| + Thread() = delete;
|
|
|
| public:
|
| - explicit Thread(ThreadImpl*);
|
| -
|
| // Execution control.
|
| State state();
|
| void PushFrame(const WasmFunction* function, WasmVal* args);
|
|
|