Commit ec922ef6 authored by caitp's avatar caitp Committed by Commit bot

[cleanup] fix comment in builtins-typedarray.cc

It's supposed to be a JSTypedArray, not a JSGeneratorObject

BUG=
R=littledan@chromium.org, adamk@chromium.org, jgruber@chromium.org

Review-Url: https://codereview.chromium.org/2674133002
Cr-Commit-Position: refs/heads/master@{#42967}
parent aedcbfae
......@@ -56,7 +56,7 @@ void Generate_TypedArrayPrototypeGetter(compiler::CodeAssemblerState* state,
assembler.Bind(&if_receiverisincompatible);
{
// The {receiver} is not a valid JSGeneratorObject.
// The {receiver} is not a valid JSTypedArray.
Node* result = assembler.CallRuntime(
Runtime::kThrowIncompatibleMethodReceiver, context,
assembler.HeapConstant(assembler.factory()->NewStringFromAsciiChecked(
......
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