| 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 10339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10350 DECL_ACCESSORS(property_list, Object) | 10350 DECL_ACCESSORS(property_list, Object) |
| 10351 DECL_ACCESSORS(property_accessors, Object) | 10351 DECL_ACCESSORS(property_accessors, Object) |
| 10352 | 10352 |
| 10353 DECLARE_VERIFIER(TemplateInfo) | 10353 DECLARE_VERIFIER(TemplateInfo) |
| 10354 | 10354 |
| 10355 static const int kTagOffset = HeapObject::kHeaderSize; | 10355 static const int kTagOffset = HeapObject::kHeaderSize; |
| 10356 static const int kNumberOfProperties = kTagOffset + kPointerSize; | 10356 static const int kNumberOfProperties = kTagOffset + kPointerSize; |
| 10357 static const int kPropertyListOffset = kNumberOfProperties + kPointerSize; | 10357 static const int kPropertyListOffset = kNumberOfProperties + kPointerSize; |
| 10358 static const int kPropertyAccessorsOffset = | 10358 static const int kPropertyAccessorsOffset = |
| 10359 kPropertyListOffset + kPointerSize; | 10359 kPropertyListOffset + kPointerSize; |
| 10360 static const int kHeaderSize = kPropertyAccessorsOffset + kPointerSize; | 10360 static const int kPropertyIntrinsicsOffset = |
| 10361 kPropertyAccessorsOffset + kPointerSize; |
| 10362 static const int kHeaderSize = kPropertyIntrinsicsOffset + kPointerSize; |
| 10361 | 10363 |
| 10362 private: | 10364 private: |
| 10363 DISALLOW_IMPLICIT_CONSTRUCTORS(TemplateInfo); | 10365 DISALLOW_IMPLICIT_CONSTRUCTORS(TemplateInfo); |
| 10364 }; | 10366 }; |
| 10365 | 10367 |
| 10366 | 10368 |
| 10367 class FunctionTemplateInfo: public TemplateInfo { | 10369 class FunctionTemplateInfo: public TemplateInfo { |
| 10368 public: | 10370 public: |
| 10369 DECL_ACCESSORS(serial_number, Object) | 10371 DECL_ACCESSORS(serial_number, Object) |
| 10370 DECL_ACCESSORS(call_code, Object) | 10372 DECL_ACCESSORS(call_code, Object) |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10725 Handle<FixedArray> keys_; | 10727 Handle<FixedArray> keys_; |
| 10726 Handle<OrderedHashSet> set_; | 10728 Handle<OrderedHashSet> set_; |
| 10727 int length_; | 10729 int length_; |
| 10728 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); | 10730 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); |
| 10729 }; | 10731 }; |
| 10730 | 10732 |
| 10731 } // NOLINT, false-positive due to second-order macros. | 10733 } // NOLINT, false-positive due to second-order macros. |
| 10732 } // NOLINT, false-positive due to second-order macros. | 10734 } // NOLINT, false-positive due to second-order macros. |
| 10733 | 10735 |
| 10734 #endif // V8_OBJECTS_H_ | 10736 #endif // V8_OBJECTS_H_ |
| OLD | NEW |