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

Unified Diff: src/objects.h

Issue 6639024: Get rid of distinction between below- and above-watermark in page allocation.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 9 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/objects.h
===================================================================
--- src/objects.h (revision 7102)
+++ src/objects.h (working copy)
@@ -733,6 +733,9 @@
INLINE(bool IsFalse());
inline bool IsArgumentsMarker();
+ // Filler objects (fillers and byte arrays).
+ inline bool IsFiller();
+
// Extract the number.
inline double Number();
@@ -2591,6 +2594,8 @@
inline int length();
inline void set_length(int value);
+ inline int Size() { return RoundUp(length() + kHeaderSize, kPointerSize); }
Vyacheslav Egorov (Chromium) 2011/03/15 09:20:09 What's the difference from ByteArraySize()?
Erik Corry 2011/03/17 13:39:17 None, but you have to have this one because it ove
+
// Setter and getter.
inline byte get(int index);
inline void set(int index, byte value);

Powered by Google App Engine
This is Rietveld 408576698