Commit bc939300 authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

[cleanup] Fix typo

Bug: v8:7310
Change-Id: I2e3c324babc4e7e51791c44290dffcf8829c15ce
Reviewed-on: https://chromium-review.googlesource.com/946252Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51701}
parent 9776e267
......@@ -3826,7 +3826,7 @@ Reduction JSCallReducer::ReduceStringPrototypeSlice(Node* node) {
return Replace(result_string);
}
// ES #sec-string.prototype.slice
// ES #sec-string.prototype.substr
Reduction JSCallReducer::ReduceStringPrototypeSubstr(Node* node) {
if (node->op()->ValueInputCount() < 3) return NoChange();
CallParameters const& p = CallParametersOf(node->op());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment