We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isAsync
StackFrame
1 parent 130d1c0 commit 1446562Copy full SHA for 1446562
Source/JavaScriptCore/runtime/StackFrame.h
@@ -98,12 +98,19 @@ class StackFrame {
98
return false;
99
}
100
101
- bool isAsyncFrameWithoutCodeBlock() const
+#if USE(BUN_JSC_ADDITIONS)
102
+ bool isAsyncFrame() const
103
{
104
if (auto* jsFrame = std::get_if<JSFrameData>(&m_frameData))
- return jsFrame->m_isAsyncFrame && !codeBlock();
105
+ return jsFrame->m_isAsyncFrame;
106
107
108
+#endif
109
+
110
+ bool isAsyncFrameWithoutCodeBlock() const
111
+ {
112
+ return isAsyncFrame() && !codeBlock();
113
+ }
114
115
LineColumn computeLineAndColumn() const;
116
String functionName(VM&) const;
0 commit comments