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

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: 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
Index: src/messages.h
diff --git a/src/messages.h b/src/messages.h
index 107290ceeab3ef17e1114f67ae89d3fe0b3f5c53..63319be4477e2ff7c439e093a989e38ea21621cb 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -494,7 +494,8 @@ class ErrorUtils : 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:

Powered by Google App Engine
This is Rietveld 408576698