mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 835277 part 3 - Call IonFrameIterator::script in GetTopIonJSScript. r=nbp
This commit is contained in:
parent
c199d8e4e6
commit
77beb7506c
@ -98,8 +98,7 @@ GetTopIonJSScript(JSContext *cx, const SafepointIndex **safepointIndexOut, void
|
||||
*returnAddrOut = (void *) iter.returnAddressToFp();
|
||||
|
||||
JS_ASSERT(iter.isScripted());
|
||||
IonJSFrameLayout *frame = static_cast<IonJSFrameLayout*>(iter.current());
|
||||
return ScriptFromCalleeToken(frame->calleeToken());
|
||||
return iter.script();
|
||||
}
|
||||
|
||||
} // namespace ion
|
||||
|
Loading…
Reference in New Issue
Block a user