mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00: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
0c4f3d0849
commit
8c4df9efa0
@ -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