| Index: src/s390/codegen-s390.cc
|
| diff --git a/src/s390/codegen-s390.cc b/src/s390/codegen-s390.cc
|
| index a655b5241a928cff54828d33f0082579f1655d25..6636a7ca1d00e1e850e672a30b8e20936c79c301 100644
|
| --- a/src/s390/codegen-s390.cc
|
| +++ b/src/s390/codegen-s390.cc
|
| @@ -123,7 +123,7 @@ void ElementsTransitionGenerator::GenerateMapChangeElementsTransition(
|
|
|
| if (mode == TRACK_ALLOCATION_SITE) {
|
| DCHECK(allocation_memento_found != NULL);
|
| - __ JumpIfJSArrayHasAllocationMemento(receiver, scratch_elements,
|
| + __ JumpIfJSArrayHasAllocationMemento(receiver, scratch_elements, r1,
|
| allocation_memento_found);
|
| }
|
|
|
| @@ -153,7 +153,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble(
|
| scratch2));
|
|
|
| if (mode == TRACK_ALLOCATION_SITE) {
|
| - __ JumpIfJSArrayHasAllocationMemento(receiver, elements, fail);
|
| + __ JumpIfJSArrayHasAllocationMemento(receiver, elements, scratch2, fail);
|
| }
|
|
|
| // Check for empty arrays, which only require a map transition and no changes
|
| @@ -278,7 +278,7 @@ void ElementsTransitionGenerator::GenerateDoubleToObject(
|
| scratch));
|
|
|
| if (mode == TRACK_ALLOCATION_SITE) {
|
| - __ JumpIfJSArrayHasAllocationMemento(receiver, elements, fail);
|
| + __ JumpIfJSArrayHasAllocationMemento(receiver, elements, scratch3, fail);
|
| }
|
|
|
| // Check for empty arrays, which only require a map transition and no changes
|
|
|