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