| Index: src/ia32/builtins-ia32.cc
|
| diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc
|
| index 3d274f2e6b8130ab671634b9ab0856b195af519b..4cd27d735626a99ba2419b7d5f2d5989ea82215e 100644
|
| --- a/src/ia32/builtins-ia32.cc
|
| +++ b/src/ia32/builtins-ia32.cc
|
| @@ -1320,7 +1320,7 @@ void Builtins::Generate_InternalArrayCode(MacroAssembler* masm) {
|
| __ LoadGlobalFunction(Context::INTERNAL_ARRAY_FUNCTION_INDEX, edi);
|
|
|
| if (FLAG_debug_code) {
|
| - // Initial map for the builtin InternalArray function shoud be a map.
|
| + // Initial map for the builtin InternalArray function should be a map.
|
| __ mov(ebx, FieldOperand(edi, JSFunction::kPrototypeOrInitialMapOffset));
|
| // Will both indicate a NULL and a Smi.
|
| __ test(ebx, Immediate(kSmiTagMask));
|
| @@ -1333,8 +1333,8 @@ void Builtins::Generate_InternalArrayCode(MacroAssembler* masm) {
|
| // function.
|
| ArrayNativeCode(masm, false, &generic_array_code);
|
|
|
| - // Jump to the generic array code in case the specialized code cannot handle
|
| - // the construction.
|
| + // Jump to the generic internal array code in case the specialized code cannot
|
| + // handle the construction.
|
| __ bind(&generic_array_code);
|
| Handle<Code> array_code =
|
| masm->isolate()->builtins()->InternalArrayCodeGeneric();
|
| @@ -1354,7 +1354,7 @@ void Builtins::Generate_ArrayCode(MacroAssembler* masm) {
|
| __ LoadGlobalFunction(Context::ARRAY_FUNCTION_INDEX, edi);
|
|
|
| if (FLAG_debug_code) {
|
| - // Initial map for the builtin Array function shoud be a map.
|
| + // Initial map for the builtin Array function should be a map.
|
| __ mov(ebx, FieldOperand(edi, JSFunction::kPrototypeOrInitialMapOffset));
|
| // Will both indicate a NULL and a Smi.
|
| __ test(ebx, Immediate(kSmiTagMask));
|
|
|