Index: src/utils.h |
diff --git a/src/utils.h b/src/utils.h |
index 9a601416ffd837e48209a3bf5eec80d70d024346..9b94a2feb1de6a7e9fcc8910ec3008e93f4a3bca 100644 |
--- a/src/utils.h |
+++ b/src/utils.h |
@@ -1524,6 +1524,10 @@ static inline void WriteUnalignedValue(void* p, V value) { |
#endif // V8_TARGET_ARCH_MIPS || V8_TARGET_ARCH_MIPS64 |
} |
+static inline double ReadFloatValue(const void* p) { |
+ return ReadUnalignedValue<float>(p); |
+} |
+ |
static inline double ReadDoubleValue(const void* p) { |
return ReadUnalignedValue<double>(p); |
} |