Index: src/ppc/deoptimizer-ppc.cc |
diff --git a/src/ppc/deoptimizer-ppc.cc b/src/ppc/deoptimizer-ppc.cc |
index a44e2afe13b44f5b43573d9f53183c39c62e7754..831ccf6cdc6286ccc7a2ed3056a2adb34a939c25 100644 |
--- a/src/ppc/deoptimizer-ppc.cc |
+++ b/src/ppc/deoptimizer-ppc.cc |
@@ -155,7 +155,8 @@ void Deoptimizer::TableEntryGenerator::Generate() { |
// Save all double registers before messing with them. |
__ subi(sp, sp, Operand(kDoubleRegsSize)); |
- const RegisterConfiguration* config = RegisterConfiguration::ArchDefault(); |
+ const RegisterConfiguration* config = |
+ RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT); |
for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { |
int code = config->GetAllocatableDoubleCode(i); |
const DoubleRegister dreg = DoubleRegister::from_code(code); |