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 "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assert-scope.h" | 9 #include "src/assert-scope.h" |
10 #include "src/builtins.h" | 10 #include "src/builtins.h" |
11 #include "src/elements-kind.h" | 11 #include "src/elements-kind.h" |
12 #include "src/field-index.h" | 12 #include "src/field-index.h" |
13 #include "src/flags.h" | 13 #include "src/flags.h" |
14 #include "src/list.h" | 14 #include "src/list.h" |
15 #include "src/property-details.h" | 15 #include "src/property-details.h" |
16 #include "src/smart-pointers.h" | 16 #include "src/smart-pointers.h" |
17 #include "src/unicode-inl.h" | 17 #include "src/unicode-inl.h" |
18 #if V8_TARGET_ARCH_ARM64 | |
19 #include "src/arm64/constants-arm64.h" | |
20 #elif V8_TARGET_ARCH_ARM | |
21 #include "src/arm/constants-arm.h" | |
22 #elif V8_TARGET_ARCH_MIPS | |
23 #include "src/mips/constants-mips.h" | |
24 #endif | |
25 #include "src/v8checks.h" | 18 #include "src/v8checks.h" |
26 #include "src/zone.h" | 19 #include "src/zone.h" |
27 | 20 |
| 21 #if V8_TARGET_ARCH_ARM |
| 22 #include "src/arm/constants-arm.h" // NOLINT |
| 23 #elif V8_TARGET_ARCH_ARM64 |
| 24 #include "src/arm64/constants-arm64.h" // NOLINT |
| 25 #elif V8_TARGET_ARCH_MIPS |
| 26 #include "src/mips/constants-mips.h" // NOLINT |
| 27 #endif |
| 28 |
28 | 29 |
29 // | 30 // |
30 // Most object types in the V8 JavaScript are described in this file. | 31 // Most object types in the V8 JavaScript are described in this file. |
31 // | 32 // |
32 // Inheritance hierarchy: | 33 // Inheritance hierarchy: |
33 // - Object | 34 // - Object |
34 // - Smi (immediate small integer) | 35 // - Smi (immediate small integer) |
35 // - HeapObject (superclass for everything allocated in the heap) | 36 // - HeapObject (superclass for everything allocated in the heap) |
36 // - JSReceiver (suitable for property access) | 37 // - JSReceiver (suitable for property access) |
37 // - JSObject | 38 // - JSObject |
(...skipping 11210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11248 } else { | 11249 } else { |
11249 value &= ~(1 << bit_position); | 11250 value &= ~(1 << bit_position); |
11250 } | 11251 } |
11251 return value; | 11252 return value; |
11252 } | 11253 } |
11253 }; | 11254 }; |
11254 | 11255 |
11255 } } // namespace v8::internal | 11256 } } // namespace v8::internal |
11256 | 11257 |
11257 #endif // V8_OBJECTS_H_ | 11258 #endif // V8_OBJECTS_H_ |
OLD | NEW |