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

Unified Diff: runtime/vm/raw_object.h

Issue 604553003: Don't use the size-zero array hack to access variable data in Snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/vm/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/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 19d0ef40b48b2aa3d5b3fc7dda0a4577ecf00707..66ba2212a9bbbda563cb3e32b7132049a8cf59dd 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -227,13 +227,6 @@ CLASS_LIST_TYPED_DATA(V)
SNAPSHOT_WRITER_SUPPORT() \
HEAP_PROFILER_SUPPORT() \
-#define OPEN_ARRAY_START(type, align) \
- do { \
- const uword result = reinterpret_cast<uword>(this) + sizeof(*this); \
- ASSERT(Utils::IsAligned(result, sizeof(align))); \
- return reinterpret_cast<type*>(result); \
- } while (0)
-
// RawObject is the base class of all raw objects, even though it carries the
// class_ field not all raw objects are allocated in the heap and thus cannot
// be dereferenced (e.g. RawSmi).
« no previous file with comments | « runtime/vm/globals.h ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698