OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 10364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10375 DECL_ACCESSORS(property_list, Object) | 10375 DECL_ACCESSORS(property_list, Object) |
10376 DECL_ACCESSORS(property_accessors, Object) | 10376 DECL_ACCESSORS(property_accessors, Object) |
10377 | 10377 |
10378 DECLARE_VERIFIER(TemplateInfo) | 10378 DECLARE_VERIFIER(TemplateInfo) |
10379 | 10379 |
10380 static const int kTagOffset = HeapObject::kHeaderSize; | 10380 static const int kTagOffset = HeapObject::kHeaderSize; |
10381 static const int kNumberOfProperties = kTagOffset + kPointerSize; | 10381 static const int kNumberOfProperties = kTagOffset + kPointerSize; |
10382 static const int kPropertyListOffset = kNumberOfProperties + kPointerSize; | 10382 static const int kPropertyListOffset = kNumberOfProperties + kPointerSize; |
10383 static const int kPropertyAccessorsOffset = | 10383 static const int kPropertyAccessorsOffset = |
10384 kPropertyListOffset + kPointerSize; | 10384 kPropertyListOffset + kPointerSize; |
10385 static const int kHeaderSize = kPropertyAccessorsOffset + kPointerSize; | 10385 static const int kPropertyIntrinsicsOffset = |
| 10386 kPropertyAccessorsOffset + kPointerSize; |
| 10387 static const int kHeaderSize = kPropertyIntrinsicsOffset + kPointerSize; |
10386 | 10388 |
10387 private: | 10389 private: |
10388 DISALLOW_IMPLICIT_CONSTRUCTORS(TemplateInfo); | 10390 DISALLOW_IMPLICIT_CONSTRUCTORS(TemplateInfo); |
10389 }; | 10391 }; |
10390 | 10392 |
10391 | 10393 |
10392 class FunctionTemplateInfo: public TemplateInfo { | 10394 class FunctionTemplateInfo: public TemplateInfo { |
10393 public: | 10395 public: |
10394 DECL_ACCESSORS(serial_number, Object) | 10396 DECL_ACCESSORS(serial_number, Object) |
10395 DECL_ACCESSORS(call_code, Object) | 10397 DECL_ACCESSORS(call_code, Object) |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10786 // (elements + properties) in the current level. | 10788 // (elements + properties) in the current level. |
10787 int levelLength_; | 10789 int levelLength_; |
10788 | 10790 |
10789 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); | 10791 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); |
10790 }; | 10792 }; |
10791 | 10793 |
10792 } // NOLINT, false-positive due to second-order macros. | 10794 } // NOLINT, false-positive due to second-order macros. |
10793 } // NOLINT, false-positive due to second-order macros. | 10795 } // NOLINT, false-positive due to second-order macros. |
10794 | 10796 |
10795 #endif // V8_OBJECTS_H_ | 10797 #endif // V8_OBJECTS_H_ |
OLD | NEW |