Index: src/vm/program.h |
diff --git a/src/vm/program.h b/src/vm/program.h |
index cef0a1338ef8b0a62cf4d43306f698942b8ef50f..6f31b8543d07ae35f9c82e7af412f1fea06a980e 100644 |
--- a/src/vm/program.h |
+++ b/src/vm/program.h |
@@ -35,10 +35,12 @@ class Session; |
V(Instance, false_object, FalseObject) \ |
V(Instance, true_object, TrueObject) \ |
/* Global literals up to this line */ \ |
+ V(Class, smi_class, SmiClass) \ |
+ /* The order of null, false, true and smi_class is used by */ \ |
+ /* the ARM interpreter. */ \ |
V(Array, empty_array, EmptyArray) \ |
V(OneByteString, empty_string, EmptyString) \ |
V(Class, meta_class, MetaClass) \ |
- V(Class, smi_class, SmiClass) \ |
V(Class, boxed_class, BoxedClass) \ |
V(Class, large_integer_class, LargeIntegerClass) \ |
V(Class, num_class, NumClass) \ |
@@ -75,7 +77,6 @@ class Session; |
V(Array, static_fields, StaticFields) \ |
V(Array, dispatch_table, DispatchTable) |
- |
typedef DoubleList<Process> ProcessList; |
typedef DoubleList<Process, 2> ProcessQueueList; |
typedef DoubleList<Program> ProgramList; |
@@ -298,6 +299,7 @@ class Program : public ProgramList::Entry { |
// Iterates over all roots in the program. |
void IterateRoots(PointerVisitor* visitor); |
void IterateRootsIgnoringSession(PointerVisitor* visitor); |
+ void VerifyObjectPlacements(); |
// Dispatch table support. |
void ClearDispatchTableIntrinsics(); |