summaryrefslogtreecommitdiff
path: root/js/src/jsscript.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jsscript.h')
-rw-r--r--js/src/jsscript.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsscript.h b/js/src/jsscript.h
index 74cefea07b..62502a3c7c 100644
--- a/js/src/jsscript.h
+++ b/js/src/jsscript.h
@@ -1519,7 +1519,7 @@ class JSScript : public js::gc::TenuredCell
bool mayReadFrameArgsDirectly();
static JSFlatString* sourceData(JSContext* cx, JS::HandleScript script);
- JSFlatString* sourceDataWithPrelude(JSContext* cx);
+ static JSFlatString* sourceDataWithPrelude(JSContext* cx, JS::HandleScript script);
static bool loadSource(JSContext* cx, js::ScriptSource* ss, bool* worked);