| Index: src/wasm/wasm-interpreter.h
|
| diff --git a/src/wasm/wasm-interpreter.h b/src/wasm/wasm-interpreter.h
|
| index f0167d03e7a9c3b76c18f27e7094ed9d8990ef8a..ab11a0883b083d05e4f2a426cc8f94e76cac2d4d 100644
|
| --- a/src/wasm/wasm-interpreter.h
|
| +++ b/src/wasm/wasm-interpreter.h
|
| @@ -148,11 +148,15 @@ class V8_EXPORT_PRIVATE WasmInterpreter {
|
| const InterpretedFrame GetFrame(int index);
|
| InterpretedFrame GetMutableFrame(int index);
|
| WasmVal GetReturnValue(int index = 0);
|
| +
|
| // Returns true if the thread executed an instruction which may produce
|
| // nondeterministic results, e.g. float div, float sqrt, and float mul,
|
| // where the sign bit of a NaN is nondeterministic.
|
| bool PossibleNondeterminism();
|
|
|
| + // Returns the number of calls / function frames executed on this thread.
|
| + uint64_t NumInterpretedCalls();
|
| +
|
| // Thread-specific breakpoints.
|
| // TODO(wasm): Implement this once we support multiple threads.
|
| // bool SetBreakpoint(const WasmFunction* function, int pc, bool enabled);
|
|
|