mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 853417 - add comment explaining why we don't need to check for self-hosted scripts in ScriptDebugEpilogue. r=me
This commit is contained in:
parent
9e9a409d88
commit
f545bfc7e2
@ -122,6 +122,7 @@ js::ScriptDebugEpilogue(JSContext *cx, AbstractFramePtr frame, bool okArg)
|
||||
JS_ASSERT_IF(frame.isStackFrame(), frame.asStackFrame() == cx->fp());
|
||||
JSBool ok = okArg;
|
||||
|
||||
// We don't add hook data for self-hosted scripts, so we don't need to check for them, here.
|
||||
if (void *hookData = frame.maybeHookData()) {
|
||||
if (frame.isFramePushedByExecute()) {
|
||||
if (JSInterpreterHook hook = cx->runtime->debugHooks.executeHook)
|
||||
|
Loading…
Reference in New Issue
Block a user