Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1697)

Unified Diff: src/wasm/wasm-interpreter.h

Issue 2438603003: [wasm] Track in the interpreter if a NaN could have been produced. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/wasm/wasm-interpreter.cc » ('j') | src/wasm/wasm-interpreter.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-interpreter.h
diff --git a/src/wasm/wasm-interpreter.h b/src/wasm/wasm-interpreter.h
index 2ed6053ddbd7787018912dfae3296739aebe5c9c..59a273f45b7620762ee82b1531362933e927b614 100644
--- a/src/wasm/wasm-interpreter.h
+++ b/src/wasm/wasm-interpreter.h
@@ -125,6 +125,7 @@ class V8_EXPORT_PRIVATE WasmInterpreter {
virtual const WasmFrame* GetFrame(int index) = 0;
virtual WasmFrame* GetMutableFrame(int index) = 0;
virtual WasmVal GetReturnValue(int index = 0) = 0;
+ virtual bool MayProducedNaN() = 0;
titzer 2016/10/20 10:53:24 Call this possibly nondeterministic? And add a com
ahaas 2016/10/20 13:43:23 Done.
// Thread-specific breakpoints.
bool SetBreakpoint(const WasmFunction* function, int pc, bool enabled);
« no previous file with comments | « no previous file | src/wasm/wasm-interpreter.cc » ('j') | src/wasm/wasm-interpreter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698