Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: src/utils.h

Issue 2031873002: [deoptimizer] Support float registers and slots. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compile. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698