OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 11095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11106 DECLARE_VERIFIER(TemplateInfo) | 11106 DECLARE_VERIFIER(TemplateInfo) |
11107 | 11107 |
11108 DECLARE_CAST(TemplateInfo) | 11108 DECLARE_CAST(TemplateInfo) |
11109 | 11109 |
11110 static const int kTagOffset = HeapObject::kHeaderSize; | 11110 static const int kTagOffset = HeapObject::kHeaderSize; |
11111 static const int kSerialNumberOffset = kTagOffset + kPointerSize; | 11111 static const int kSerialNumberOffset = kTagOffset + kPointerSize; |
11112 static const int kNumberOfProperties = kSerialNumberOffset + kPointerSize; | 11112 static const int kNumberOfProperties = kSerialNumberOffset + kPointerSize; |
11113 static const int kPropertyListOffset = kNumberOfProperties + kPointerSize; | 11113 static const int kPropertyListOffset = kNumberOfProperties + kPointerSize; |
11114 static const int kPropertyAccessorsOffset = | 11114 static const int kPropertyAccessorsOffset = |
11115 kPropertyListOffset + kPointerSize; | 11115 kPropertyListOffset + kPointerSize; |
11116 static const int kPropertyIntrinsicsOffset = | 11116 static const int kHeaderSize = kPropertyAccessorsOffset + kPointerSize; |
11117 kPropertyAccessorsOffset + kPointerSize; | |
11118 static const int kHeaderSize = kPropertyIntrinsicsOffset + kPointerSize; | |
11119 | 11117 |
11120 static const int kFastTemplateInstantiationsCacheSize = 1 * KB; | 11118 static const int kFastTemplateInstantiationsCacheSize = 1 * KB; |
11121 | 11119 |
11122 private: | 11120 private: |
11123 DISALLOW_IMPLICIT_CONSTRUCTORS(TemplateInfo); | 11121 DISALLOW_IMPLICIT_CONSTRUCTORS(TemplateInfo); |
11124 }; | 11122 }; |
11125 | 11123 |
11126 | 11124 |
11127 class FunctionTemplateInfo: public TemplateInfo { | 11125 class FunctionTemplateInfo: public TemplateInfo { |
11128 public: | 11126 public: |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11451 } | 11449 } |
11452 return value; | 11450 return value; |
11453 } | 11451 } |
11454 }; | 11452 }; |
11455 | 11453 |
11456 | 11454 |
11457 } // NOLINT, false-positive due to second-order macros. | 11455 } // NOLINT, false-positive due to second-order macros. |
11458 } // NOLINT, false-positive due to second-order macros. | 11456 } // NOLINT, false-positive due to second-order macros. |
11459 | 11457 |
11460 #endif // V8_OBJECTS_H_ | 11458 #endif // V8_OBJECTS_H_ |
OLD | NEW |