Commit 2b3fbd82 authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

Cleanup Isolate::UnwindAndFindHandler

Before adding stack unwinding of interpreted wasm frames, clean up the
respective method a bit.
Replace if-cascade by a switch, and inline the (previously public)
RemoveMaterializedObjectsOnUnwind method.

R=mstarzinger@chromium.org, jarin@chromium.org
BUG=v8:5822

Change-Id: Icf80c4adadc2f43551656ced8e92a67752d5c471
Reviewed-on: https://chromium-review.googlesource.com/453898
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#43860}
parent 783f68c5
This diff is collapsed.
......@@ -1346,10 +1346,6 @@ class Isolate {
// then return true.
bool PropagatePendingExceptionToExternalTryCatch();
// Remove per-frame stored materialized objects when we are unwinding
// the frame.
void RemoveMaterializedObjectsOnUnwind(StackFrame* frame);
void RunMicrotasksInternal();
const char* RAILModeName(RAILMode rail_mode) const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment