Commit 10e30279 authored by gsathya's avatar gsathya Committed by Commit bot

[typedarrays] fix typo

Review-Url: https://codereview.chromium.org/2569663003
Cr-Commit-Position: refs/heads/master@{#41662}
parent 6e232fde
......@@ -21,7 +21,7 @@ BUILTIN(TypedArrayPrototypeBuffer) {
namespace {
void Generate_TypedArrayProtoypeGetter(compiler::CodeAssemblerState* state,
void Generate_TypedArrayPrototypeGetter(compiler::CodeAssemblerState* state,
const char* method_name,
int object_offset) {
typedef CodeStubAssembler::Label Label;
......@@ -71,7 +71,7 @@ void Generate_TypedArrayProtoypeGetter(compiler::CodeAssemblerState* state,
// ES6 section 22.2.3.2 get %TypedArray%.prototype.byteLength
void Builtins::Generate_TypedArrayPrototypeByteLength(
compiler::CodeAssemblerState* state) {
Generate_TypedArrayProtoypeGetter(state,
Generate_TypedArrayPrototypeGetter(state,
"get TypedArray.prototype.byteLength",
JSTypedArray::kByteLengthOffset);
}
......@@ -79,7 +79,7 @@ void Builtins::Generate_TypedArrayPrototypeByteLength(
// ES6 section 22.2.3.3 get %TypedArray%.prototype.byteOffset
void Builtins::Generate_TypedArrayPrototypeByteOffset(
compiler::CodeAssemblerState* state) {
Generate_TypedArrayProtoypeGetter(state,
Generate_TypedArrayPrototypeGetter(state,
"get TypedArray.prototype.byteOffset",
JSTypedArray::kByteOffsetOffset);
}
......@@ -87,7 +87,7 @@ void Builtins::Generate_TypedArrayPrototypeByteOffset(
// ES6 section 22.2.3.18 get %TypedArray%.prototype.length
void Builtins::Generate_TypedArrayPrototypeLength(
compiler::CodeAssemblerState* state) {
Generate_TypedArrayProtoypeGetter(state, "get TypedArray.prototype.length",
Generate_TypedArrayPrototypeGetter(state, "get TypedArray.prototype.length",
JSTypedArray::kLengthOffset);
}
......
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