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

Unified Diff: src/runtime/runtime-wasm.cc

Issue 2383613002: Revert of [WASM] Implements catch for the wasm low level exception mechanism. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/runtime/runtime.h ('k') | src/wasm/ast-decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime-wasm.cc
diff --git a/src/runtime/runtime-wasm.cc b/src/runtime/runtime-wasm.cc
index 0662f3d7089727692975499aa7da068694ec166f..d41be53a4e365f3ffb90bdcf16790534a4251fae 100644
--- a/src/runtime/runtime-wasm.cc
+++ b/src/runtime/runtime-wasm.cc
@@ -129,16 +129,5 @@
return isolate->Throw(*isolate->factory()->NewNumberFromInt(thrown_value));
}
-RUNTIME_FUNCTION(Runtime_WasmGetCaughtExceptionValue) {
- HandleScope scope(isolate);
- DCHECK_EQ(1, args.length());
- Object* exception = args[0];
- // The unwinder will only deliver exceptions to wasm if the exception is a
- // Number or a Smi (which we have just converted to a Number.) This logic
- // lives in Isolate::is_catchable_by_wasm(Object*).
- CHECK(exception->IsNumber());
- return exception;
-}
-
} // namespace internal
} // namespace v8
« no previous file with comments | « src/runtime/runtime.h ('k') | src/wasm/ast-decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698