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

Unified Diff: src/frames.h

Issue 2378773013: [WASM] Implements catch for the wasm low level exception mechanism. (Closed)
Patch Set: updates effect dependencies. 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
Index: src/frames.h
diff --git a/src/frames.h b/src/frames.h
index 102372886cb56409d35e076214d9442bef314be5..373f4de92c63309290940ae06f6ff48f87fc706b 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -1056,6 +1056,10 @@ class WasmFrame : public StandardFrame {
void Print(StringStream* accumulator, PrintMode mode,
int index) const override;
+ // Lookup exception handler for current {pc}, returns -1 if none found. Also
+ // returns the stack slot count of the entire frame.
+ int LookupExceptionHandlerInTable(int* data);
+
// Determine the code for the frame.
Code* unchecked_code() const override;

Powered by Google App Engine
This is Rietveld 408576698