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

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

Issue 2345593003: [wasm] Master CL for Binary 0xC changes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test failures and TSAN races. Created 4 years, 3 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/wasm/wasm-opcodes.h ('k') | test/cctest/wasm/test-run-wasm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-result.h
diff --git a/src/wasm/wasm-result.h b/src/wasm/wasm-result.h
index 5058f60d880910c54735647841b655352516959d..ecc54e5b7aea4f4d94e18ebed835f555a8c39d26 100644
--- a/src/wasm/wasm-result.h
+++ b/src/wasm/wasm-result.h
@@ -22,19 +22,7 @@ namespace wasm {
// Error codes for programmatic checking of the decoder's verification.
enum ErrorCode {
kSuccess,
- kError, // TODO(titzer): remove me
- kOutOfMemory, // decoder ran out of memory
- kEndOfCode, // end of code reached prematurely
- kInvalidOpcode, // found invalid opcode
- kUnreachableCode, // found unreachable code
- kImproperContinue, // improperly nested continue
- kImproperBreak, // improperly nested break
- kReturnCount, // return count mismatch
- kTypeError, // type mismatch
- kInvalidLocalIndex, // invalid local
- kInvalidGlobalIndex, // invalid global
- kInvalidFunctionIndex, // invalid function
- kInvalidMemType // invalid memory type
+ kError, // TODO(titzer): introduce real error codes
};
// The overall result of decoding a function or a module.
« no previous file with comments | « src/wasm/wasm-opcodes.h ('k') | test/cctest/wasm/test-run-wasm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698