Chromium Code Reviews| Index: src/objects.h |
| =================================================================== |
| --- src/objects.h (revision 485) |
| +++ src/objects.h (working copy) |
| @@ -2494,6 +2494,9 @@ |
| // [code]: Function code. |
| DECL_ACCESSORS(code, Code) |
| + // [constructor]: Code stub for constructing instances of this function. |
| + DECL_ACCESSORS(constructor, Code) |
|
iposva
2008/10/10 13:56:18
The term constructor is overloaded here. I would p
|
| + |
| // Returns if this function has been compiled to native code yet. |
| inline bool is_compiled(); |
| @@ -2585,7 +2588,8 @@ |
| // Layout description. |
| static const int kNameOffset = HeapObject::kHeaderSize; |
| static const int kCodeOffset = kNameOffset + kPointerSize; |
| - static const int kLengthOffset = kCodeOffset + kPointerSize; |
| + static const int kConstructorOffset = kCodeOffset + kPointerSize; |
| + static const int kLengthOffset = kConstructorOffset + kPointerSize; |
| static const int kFormalParameterCountOffset = kLengthOffset + kIntSize; |
| static const int kExpectedNofPropertiesOffset = |
| kFormalParameterCountOffset + kIntSize; |