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

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

Issue 2256603002: [wasm] Add stack checks at the beginning of each function. (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/wasm/wasm-opcodes.h
diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h
index 4d66e567ef7e7aa18d09c1d44cff12d8d0791c11..cdf4abeacecf8010ba6cda6feb053bcba4c111f1 100644
--- a/src/wasm/wasm-opcodes.h
+++ b/src/wasm/wasm-opcodes.h
@@ -474,7 +474,8 @@ enum WasmOpcode {
V(TrapFloatUnrepresentable) \
V(TrapFuncInvalid) \
V(TrapFuncSigMismatch) \
- V(TrapInvalidIndex)
+ V(TrapInvalidIndex) \
+ V(TrapStackOverflow)
enum TrapReason {
#define DECLARE_ENUM(name) k##name,

Powered by Google App Engine
This is Rietveld 408576698