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

Unified Diff: runtime/vm/globals.h

Issue 417093005: - Make sure to be able to deal with unaligned snapshot buffers (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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 | « runtime/platform/globals.h ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/globals.h
===================================================================
--- runtime/vm/globals.h (revision 38738)
+++ runtime/vm/globals.h (working copy)
@@ -51,8 +51,8 @@
(reinterpret_cast<intptr_t>(&(reinterpret_cast<type*>(kOffsetOfPtr)->field)) \
- kOffsetOfPtr)
-#define OFFSET_OF_RETURNED_VALUE(type, accessor) \
- (reinterpret_cast<intptr_t>( \
+#define OFFSET_OF_RETURNED_VALUE(type, accessor) \
+ (reinterpret_cast<intptr_t>( \
(reinterpret_cast<type*>(kOffsetOfPtr)->accessor())) - kOffsetOfPtr)
« no previous file with comments | « runtime/platform/globals.h ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698