Index: src/builtins/builtins-definitions.h |
diff --git a/src/builtins/builtins-definitions.h b/src/builtins/builtins-definitions.h |
index b90d2a6b2e87402837e106015d85946e17f9edb0..bc29bd8f1daaa0c35053ea805df4dc9e4c347b63 100644 |
--- a/src/builtins/builtins-definitions.h |
+++ b/src/builtins/builtins-definitions.h |
@@ -853,6 +853,8 @@ namespace internal { |
CPP(StringPrototypeLocaleCompare) \ |
/* ES6 #sec-string.prototype.replace */ \ |
TFJ(StringPrototypeReplace, 2, kSearch, kReplace) \ |
+ /* ES6 #sec-string.prototype.slice */ \ |
+ TFJ(StringPrototypeSlice, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
/* ES6 #sec-string.prototype.split */ \ |
TFJ(StringPrototypeSplit, 2, kSeparator, kLimit) \ |
/* ES6 #sec-string.prototype.substr */ \ |