Chromium Code Reviews| 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); |