Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index a2347287b8059465253d91a3690677ae7c29ab79..fdca98e90a22f77b0907b813bfc9863044978f50 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -2072,7 +2072,7 @@ |
void Translation::StoreDoubleRegister(DoubleRegister reg) { |
buffer_->Add(DOUBLE_REGISTER, zone()); |
- buffer_->Add(reg.code(), zone()); |
+ buffer_->Add(DoubleRegister::ToAllocationIndex(reg), zone()); |
} |
@@ -2925,7 +2925,7 @@ |
double value = registers->GetDoubleRegister(input_reg); |
if (trace_file != nullptr) { |
PrintF(trace_file, "%e ; %s (bool)", value, |
- DoubleRegister::from_code(input_reg).ToString()); |
+ DoubleRegister::AllocationIndexToString(input_reg)); |
} |
return TranslatedValue::NewDouble(this, value); |
} |