Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index a1c6edd0fab30080f0c6d2480ccfd33281b386c7..c6ee5616e2fb0cef3911d72798179fb93cd09756 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -7057,8 +7057,8 @@ static const AheadOfTimeWriteBarrierStubList kAheadOfTime[] = { |
// KeyedStoreStubCompiler::GenerateStoreFastElement. |
{ REG(edi), REG(ebx), REG(ecx), EMIT_REMEMBERED_SET}, |
{ REG(edx), REG(edi), REG(ebx), EMIT_REMEMBERED_SET}, |
- // ElementsTransitionGenerator::GenerateSmiOnlyToObject |
- // and ElementsTransitionGenerator::GenerateSmiOnlyToDouble |
+ // ElementsTransitionGenerator::GenerateMapChangeElementTransition |
+ // and ElementsTransitionGenerator::GenerateSmiToDouble |
// and ElementsTransitionGenerator::GenerateDoubleToObject |
{ REG(edx), REG(ebx), REG(edi), EMIT_REMEMBERED_SET}, |
{ REG(edx), REG(ebx), REG(edi), OMIT_REMEMBERED_SET}, |
@@ -7330,9 +7330,9 @@ void StoreArrayLiteralElementStub::Generate(MacroAssembler* masm) { |
__ CheckFastElements(edi, &double_elements); |
- // FAST_SMI_ONLY_ELEMENTS or FAST_ELEMENTS |
+ // Check for FAST_*_SMI_ELEMENTS or FAST_*_ELEMENTS elements |
__ JumpIfSmi(eax, &smi_element); |
- __ CheckFastSmiOnlyElements(edi, &fast_elements, Label::kNear); |
+ __ CheckFastSmiElements(edi, &fast_elements, Label::kNear); |
// Store into the array literal requires a elements transition. Call into |
// the runtime. |
@@ -7354,7 +7354,7 @@ void StoreArrayLiteralElementStub::Generate(MacroAssembler* masm) { |
__ pop(edx); |
__ jmp(&slow_elements); |
- // Array literal has ElementsKind of FAST_ELEMENTS and value is an object. |
+ // Array literal has ElementsKind of FAST_*_ELEMENTS and value is an object. |
__ bind(&fast_elements); |
__ mov(ebx, FieldOperand(ebx, JSObject::kElementsOffset)); |
__ lea(ecx, FieldOperand(ebx, ecx, times_half_pointer_size, |
@@ -7367,15 +7367,15 @@ void StoreArrayLiteralElementStub::Generate(MacroAssembler* masm) { |
OMIT_SMI_CHECK); |
__ ret(0); |
- // Array literal has ElementsKind of FAST_SMI_ONLY_ELEMENTS or |
- // FAST_ELEMENTS, and value is Smi. |
+ // Array literal has ElementsKind of FAST_*_SMI_ELEMENTS or FAST_*_ELEMENTS, |
+ // and value is Smi. |
__ bind(&smi_element); |
__ mov(ebx, FieldOperand(ebx, JSObject::kElementsOffset)); |
__ mov(FieldOperand(ebx, ecx, times_half_pointer_size, |
FixedArrayBase::kHeaderSize), eax); |
__ ret(0); |
- // Array literal has ElementsKind of FAST_DOUBLE_ELEMENTS. |
+ // Array literal has ElementsKind of FAST_*_DOUBLE_ELEMENTS. |
__ bind(&double_elements); |
__ push(edx); |