summaryrefslogtreecommitdiff
path: root/js/src/builtin/RegExp.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/builtin/RegExp.h')
-rw-r--r--js/src/builtin/RegExp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/builtin/RegExp.h b/js/src/builtin/RegExp.h
index cb88319ac9..f66c9b1b81 100644
--- a/js/src/builtin/RegExp.h
+++ b/js/src/builtin/RegExp.h
@@ -122,9 +122,9 @@ extern MOZ_MUST_USE bool
RegExpInstanceOptimizableRaw(JSContext* cx, JSObject* obj, JSObject* proto);
extern MOZ_MUST_USE bool
-RegExpGetSubstitution(JSContext* cx, HandleLinearString matched, HandleLinearString string,
- size_t position, HandleObject capturesObj, HandleLinearString replacement,
- size_t firstDollarIndex, MutableHandleValue rval);
+RegExpGetSubstitution(JSContext* cx, HandleArrayObject matchResult, HandleLinearString string,
+ size_t position, HandleLinearString replacement, size_t firstDollarIndex,
+ HandleValue namedCaptures, MutableHandleValue rval);
extern MOZ_MUST_USE bool
GetFirstDollarIndex(JSContext* cx, unsigned argc, Value* vp);