[wasm] Do not skip wasm frames when iterating
SafeStackFrameIterator used to skip over wasm frames, thus hiding them for example in the Chrome profiler. Change-Id: I81b1d73ab0b4fb1886f3300083a9550dc0f55525 Reviewed-on: https://chromium-review.googlesource.com/955697 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Stephan Herhut <herhut@chromium.org> Cr-Commit-Position: refs/heads/master@{#51922}
This commit is contained in:
parent
39933b4aba
commit
484b743872
@ -359,7 +359,7 @@ void SafeStackFrameIterator::Advance() {
|
||||
last_callback_scope = external_callback_scope_;
|
||||
external_callback_scope_ = external_callback_scope_->previous();
|
||||
}
|
||||
if (frame_->is_java_script()) break;
|
||||
if (frame_->is_java_script() || frame_->is_wasm()) break;
|
||||
if (frame_->is_exit() || frame_->is_builtin_exit()) {
|
||||
// Some of the EXIT frames may have ExternalCallbackScope allocated on
|
||||
// top of them. In that case the scope corresponds to the first EXIT
|
||||
|
Loading…
Reference in New Issue
Block a user