Bug 1238417 - Part 2: Fix argument count of RegExpMatcher and RegExpTester. r=till

This commit is contained in:
Tooru Fujisawa 2016-01-13 08:26:58 +09:00
parent 37054b6fb1
commit 0952530b28

View File

@ -1801,9 +1801,9 @@ static const JSFunctionSpec intrinsic_functions[] = {
IsRegExpObject),
JS_FN("CallRegExpMethodIfWrapped",
CallNonGenericSelfhostedMethod<Is<RegExpObject>>, 2,0),
JS_INLINABLE_FN("RegExpMatcher", RegExpMatcher, 5,0,
JS_INLINABLE_FN("RegExpMatcher", RegExpMatcher, 4,0,
RegExpMatcher),
JS_INLINABLE_FN("RegExpTester", RegExpTester, 5,0,
JS_INLINABLE_FN("RegExpTester", RegExpTester, 4,0,
RegExpTester),
// See builtin/RegExp.h for descriptions of the regexp_* functions.