| Index: src/ia32/codegen-ia32.cc
|
| diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc
|
| index da32c504fcfa2b24453764174ecdc95c9d73b5d1..f488718dc6dc818bfeb451b4c90bb45a2f0baa2e 100644
|
| --- a/src/ia32/codegen-ia32.cc
|
| +++ b/src/ia32/codegen-ia32.cc
|
| @@ -651,7 +651,7 @@ OS::MemMoveFunction CreateMemMoveFunction() {
|
|
|
| void ElementsTransitionGenerator::GenerateMapChangeElementsTransition(
|
| MacroAssembler* masm, AllocationSiteMode mode,
|
| - Label* allocation_site_info_found) {
|
| + Label* allocation_memento_found) {
|
| // ----------- S t a t e -------------
|
| // -- eax : value
|
| // -- ebx : target map
|
| @@ -660,9 +660,9 @@ void ElementsTransitionGenerator::GenerateMapChangeElementsTransition(
|
| // -- esp[0] : return address
|
| // -----------------------------------
|
| if (mode == TRACK_ALLOCATION_SITE) {
|
| - ASSERT(allocation_site_info_found != NULL);
|
| - __ TestJSArrayForAllocationSiteInfo(edx, edi);
|
| - __ j(equal, allocation_site_info_found);
|
| + ASSERT(allocation_memento_found != NULL);
|
| + __ TestJSArrayForAllocationMemento(edx, edi);
|
| + __ j(equal, allocation_memento_found);
|
| }
|
|
|
| // Set transitioned map.
|
| @@ -689,7 +689,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble(
|
| Label loop, entry, convert_hole, gc_required, only_change_map;
|
|
|
| if (mode == TRACK_ALLOCATION_SITE) {
|
| - __ TestJSArrayForAllocationSiteInfo(edx, edi);
|
| + __ TestJSArrayForAllocationMemento(edx, edi);
|
| __ j(equal, fail);
|
| }
|
|
|
| @@ -828,7 +828,7 @@ void ElementsTransitionGenerator::GenerateDoubleToObject(
|
| Label loop, entry, convert_hole, gc_required, only_change_map, success;
|
|
|
| if (mode == TRACK_ALLOCATION_SITE) {
|
| - __ TestJSArrayForAllocationSiteInfo(edx, edi);
|
| + __ TestJSArrayForAllocationMemento(edx, edi);
|
| __ j(equal, fail);
|
| }
|
|
|
|
|