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

Unified Diff: src/utils.h

Issue 1731893003: [interpreter] Preparation for 32-bit operands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 10 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
Index: src/utils.h
diff --git a/src/utils.h b/src/utils.h
index d779979a61f8c2354f517a1ae96573b6c0745ba0..d280fb58812156838d63e4cbec5d331f037a8e4e 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -1752,16 +1752,17 @@ static inline double ReadDoubleValue(const void* p) {
return ReadUnalignedValue<double>(p);
}
-
static inline void WriteDoubleValue(void* p, double value) {
WriteUnalignedValue(p, value);
}
-
static inline uint16_t ReadUnalignedUInt16(const void* p) {
return ReadUnalignedValue<uint16_t>(p);
}
+static inline uint32_t ReadUnalignedUInt32(const void* p) {
Michael Starzinger 2016/02/25 17:23:52 nit: Can we move it down by 4 lines? The other fun
oth 2016/02/26 09:03:10 Done.
+ return ReadUnalignedValue<uint32_t>(p);
+}
static inline void WriteUnalignedUInt16(void* p, uint16_t value) {
WriteUnalignedValue(p, value);
« no previous file with comments | « src/interpreter/constant-array-builder.cc ('k') | test/unittests/interpreter/constant-array-builder-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698