Fix comment typo in array-foreach.tq

Change-Id: I4336c761cbf04800e07b2533be38265725a0d7a2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2179302
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67538}
This commit is contained in:
Daniel Bevenius 2020-05-04 13:05:54 +02:00 committed by Commit Bot
parent 548f6c81d4
commit 39766f2203

View File

@ -7,7 +7,7 @@ namespace array {
ArrayForEachLoopEagerDeoptContinuation(
js-implicit context: NativeContext, receiver: JSAny)(
callback: JSAny, thisArg: JSAny, initialK: JSAny, length: JSAny): JSAny {
// All continuation points in the optimized forEach implemntation are
// All continuation points in the optimized forEach implementation are
// after the ToObject(O) call that ensures we are dealing with a
// JSReceiver.
const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;
@ -25,7 +25,7 @@ namespace array {
js-implicit context: NativeContext, receiver: JSAny)(
callback: JSAny, thisArg: JSAny, initialK: JSAny, length: JSAny,
_result: JSAny): JSAny {
// All continuation points in the optimized forEach implemntation are
// All continuation points in the optimized forEach implementation are
// after the ToObject(O) call that ensures we are dealing with a
// JSReceiver.
const jsreceiver = Cast<JSReceiver>(receiver) otherwise unreachable;