summaryrefslogtreecommitdiff
path: root/js/src/vm/Stack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/vm/Stack.cpp')
-rw-r--r--js/src/vm/Stack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/vm/Stack.cpp b/js/src/vm/Stack.cpp
index 87e95c8936..c5f2cf5f34 100644
--- a/js/src/vm/Stack.cpp
+++ b/js/src/vm/Stack.cpp
@@ -82,7 +82,7 @@ InterpreterFrame::isNonGlobalEvalFrame() const
return isEvalFrame() && script()->bodyScope()->as<EvalScope>().isNonGlobal();
}
-JSObject*
+ArrayObject*
InterpreterFrame::createRestParameter(JSContext* cx)
{
MOZ_ASSERT(script()->hasRest());