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

Unified Diff: src/messages.h

Issue 2254803002: [wasm] Throw a type error if an I64 is exported to JS. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove IfSuccess nodes for now. Created 4 years, 4 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 | « src/compiler/wasm-compiler.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.h
diff --git a/src/messages.h b/src/messages.h
index 32ba8b1df3ce3b9f9d3a8d4ded86372e7dad5197..cf49ac9c5cb817218b3c9abb08f0e4e9ad607b64 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -539,7 +539,8 @@ class CallSiteUtils : public AllStatic {
T(WasmTrapFloatUnrepresentable, "integer result unrepresentable") \
T(WasmTrapFuncInvalid, "invalid function") \
T(WasmTrapFuncSigMismatch, "function signature mismatch") \
- T(WasmTrapInvalidIndex, "invalid index into function table")
+ T(WasmTrapInvalidIndex, "invalid index into function table") \
+ T(WasmTrapTypeError, "invalid type")
class MessageTemplate {
public:
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698