mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Nuts, checked in wrong file AND named wrong bug in previous checkin, msu
be friday or something. Correct bug# is 26060.
This commit is contained in:
parent
6ab6755e46
commit
adda1105ce
@ -2666,8 +2666,10 @@ JS_ExecuteScriptPart(JSContext *cx, JSObject *obj, JSScript *script,
|
||||
|
||||
if (part == JSEXEC_PROLOG)
|
||||
tmp.length = PTRDIFF(tmp.main, tmp.code, jsbytecode);
|
||||
else
|
||||
else {
|
||||
tmp.length -= PTRDIFF(tmp.main, tmp.code, jsbytecode);
|
||||
tmp.code = tmp.main;
|
||||
}
|
||||
return JS_ExecuteScript(cx, obj, &tmp, rval);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user