Bug 574132 - Implement harmony rest parameters. r=jorendorff
This commit is contained in:
@@ -227,6 +227,9 @@ frontend::CompileScript(JSContext *cx, JSObject *scopeChain, StackFrame *callerF
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!parser.checkForArgumentsAndRest())
|
||||
goto out;
|
||||
|
||||
/*
|
||||
* Nowadays the threaded interpreter needs a stop instruction, so we
|
||||
* do have to emit that here.
|
||||
|
||||
Reference in New Issue
Block a user