Skip to content

Commit a993674

Browse files
committed
Hide async wrapper frame
1 parent 1446562 commit a993674

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/JavaScriptCore/interpreter/Interpreter.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,10 @@ void Interpreter::getStackTrace(JSCell* owner, Vector<StackFrame>& results, size
619619
} else if (!!visitor->codeBlock())
620620
#else
621621
} else if (!!visitor->codeBlock() && !visitor->codeBlock()->unlinkedCodeBlock()->isBuiltinFunction())
622+
#endif
623+
#if USE(BUN_JSC_ADDITIONS)
624+
// FIXME: Remove this BUN_JSC_ADDITIONS when https://github.com/WebKit/WebKit/pull/50288 has been merged
625+
if (!isAsyncFunctionWrapperParseMode(visitor->codeBlock()->unlinkedCodeBlock()->parseMode()))
622626
#endif
623627
results.append(StackFrame(vm, owner, visitor->callee().asCell(), visitor->codeBlock(), visitor->bytecodeIndex()));
624628
else

0 commit comments

Comments
 (0)