Index: src/ppc/codegen-ppc.cc |
diff --git a/src/ppc/codegen-ppc.cc b/src/ppc/codegen-ppc.cc |
index cef8fd93034e947a28e3da6e429aa93bba47414c..5642e91f9d8244e2d142563caa945bbfb76472bc 100644 |
--- a/src/ppc/codegen-ppc.cc |
+++ b/src/ppc/codegen-ppc.cc |
@@ -136,7 +136,7 @@ void ElementsTransitionGenerator::GenerateMapChangeElementsTransition( |
if (mode == TRACK_ALLOCATION_SITE) { |
DCHECK(allocation_memento_found != NULL); |
- __ JumpIfJSArrayHasAllocationMemento(receiver, scratch_elements, |
+ __ JumpIfJSArrayHasAllocationMemento(receiver, scratch_elements, r11, |
allocation_memento_found); |
} |
@@ -169,7 +169,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
scratch2)); |
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 |
@@ -289,7 +289,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 |