Index: src/globals.h |
=================================================================== |
--- src/globals.h (revision 4703) |
+++ src/globals.h (working copy) |
@@ -303,6 +303,7 @@ |
class IC; |
class InterceptorInfo; |
class IterationStatement; |
+class Array; |
class JSArray; |
class JSFunction; |
class JSObject; |
@@ -543,16 +544,16 @@ |
#define HAS_FAILURE_TAG(value) \ |
((reinterpret_cast<intptr_t>(value) & kFailureTagMask) == kFailureTag) |
-// OBJECT_POINTER_ALIGN returns the value aligned as a HeapObject pointer |
-#define OBJECT_POINTER_ALIGN(value) \ |
+// OBJECT_SIZE_ALIGN returns the value aligned HeapObject size |
+#define OBJECT_SIZE_ALIGN(value) \ |
(((value) + kObjectAlignmentMask) & ~kObjectAlignmentMask) |
// POINTER_SIZE_ALIGN returns the value aligned as a pointer. |
#define POINTER_SIZE_ALIGN(value) \ |
(((value) + kPointerAlignmentMask) & ~kPointerAlignmentMask) |
-// MAP_POINTER_ALIGN returns the value aligned as a map pointer. |
-#define MAP_POINTER_ALIGN(value) \ |
+// MAP_SIZE_ALIGN returns the value aligned as a map pointer. |
+#define MAP_SIZE_ALIGN(value) \ |
(((value) + kMapAlignmentMask) & ~kMapAlignmentMask) |
// The expression OFFSET_OF(type, field) computes the byte-offset |