Index: src/builtins/builtins-definitions.h |
diff --git a/src/builtins/builtins-definitions.h b/src/builtins/builtins-definitions.h |
index b9b50b7dea9603d8157757f974f8234aff4fe4a9..b742648ce16ff01e8c52496ddd238d3f29eb44f1 100644 |
--- a/src/builtins/builtins-definitions.h |
+++ b/src/builtins/builtins-definitions.h |
@@ -808,11 +808,11 @@ namespace internal { |
\ |
TFS(RegExpReplace, kRegExp, kString, kReplaceValue) \ |
/* ES #sec-regexp.prototype-@@replace */ \ |
- TFJ(RegExpPrototypeReplace, 2, kString, kReplaceValue) \ |
+ TFJ(RegExpPrototypeReplace, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
\ |
TFS(RegExpSplit, kRegExp, kString, kLimit) \ |
/* ES #sec-regexp.prototype-@@split */ \ |
- TFJ(RegExpPrototypeSplit, 2, kString, kLimit) \ |
+ TFJ(RegExpPrototypeSplit, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
\ |
/* SharedArrayBuffer */ \ |
CPP(SharedArrayBufferPrototypeGetByteLength) \ |