diff --git a/js/src/jsfun.h b/js/src/jsfun.h index 2ca72355012..cba66db18e2 100644 --- a/js/src/jsfun.h +++ b/js/src/jsfun.h @@ -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() {