Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 4d2c6761f08b0c22b04836f945ff6cdc65d8ed5a..0e6bb835e19141e3f46f185aa3cfd91afb995eef 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -2966,7 +2966,7 @@ TranslatedValue TranslatedState::CreateNextTranslatedValue( |
case Translation::DOUBLE_STACK_SLOT: { |
int slot_offset = SlotOffsetFp(iterator->Next()); |
- double value = *(reinterpret_cast<double*>(fp + slot_offset)); |
+ double value = ReadDoubleValue(fp + slot_offset); |
if (trace_file != nullptr) { |
PrintF(trace_file, "%e ; (double) [fp %c %d] ", value, |
slot_offset < 0 ? '-' : '+', std::abs(slot_offset)); |