Bug 898365 - Remove superfluous handler-wrapping form JSFunction::nonLazyScript. rs=jonco

--HG--
extra : rebase_source : 67f2c2fd74dbc2e3461ad905e248d06a5c2f9155
This commit is contained in:
Till Schneidereit 2013-07-26 12:59:48 +02:00
parent ac22f0d0ad
commit 5e23af36ee

View File

@ -260,7 +260,7 @@ class JSFunction : public JSObject
JSScript *nonLazyScript() const {
JS_ASSERT(hasScript());
return JS::HandleScript::fromMarkedLocation(&u.i.s.script_);
return u.i.s.script_;
}
js::HeapPtrScript &mutableScript() {