| 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 13 matching lines...) Expand all Loading... |
| 24 #include "src/zone.h" | 24 #include "src/zone.h" |
| 25 | 25 |
| 26 #if V8_TARGET_ARCH_ARM | 26 #if V8_TARGET_ARCH_ARM |
| 27 #include "src/arm/constants-arm.h" // NOLINT | 27 #include "src/arm/constants-arm.h" // NOLINT |
| 28 #elif V8_TARGET_ARCH_ARM64 | 28 #elif V8_TARGET_ARCH_ARM64 |
| 29 #include "src/arm64/constants-arm64.h" // NOLINT | 29 #include "src/arm64/constants-arm64.h" // NOLINT |
| 30 #elif V8_TARGET_ARCH_MIPS | 30 #elif V8_TARGET_ARCH_MIPS |
| 31 #include "src/mips/constants-mips.h" // NOLINT | 31 #include "src/mips/constants-mips.h" // NOLINT |
| 32 #elif V8_TARGET_ARCH_MIPS64 | 32 #elif V8_TARGET_ARCH_MIPS64 |
| 33 #include "src/mips64/constants-mips64.h" // NOLINT | 33 #include "src/mips64/constants-mips64.h" // NOLINT |
| 34 #elif V8_TARGET_ARCH_PPC |
| 35 #include "src/ppc/constants-ppc.h" // NOLINT |
| 34 #endif | 36 #endif |
| 35 | 37 |
| 36 | 38 |
| 37 // | 39 // |
| 38 // Most object types in the V8 JavaScript are described in this file. | 40 // Most object types in the V8 JavaScript are described in this file. |
| 39 // | 41 // |
| 40 // Inheritance hierarchy: | 42 // Inheritance hierarchy: |
| 41 // - Object | 43 // - Object |
| 42 // - Smi (immediate small integer) | 44 // - Smi (immediate small integer) |
| 43 // - HeapObject (superclass for everything allocated in the heap) | 45 // - HeapObject (superclass for everything allocated in the heap) |
| (...skipping 10908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10952 } else { | 10954 } else { |
| 10953 value &= ~(1 << bit_position); | 10955 value &= ~(1 << bit_position); |
| 10954 } | 10956 } |
| 10955 return value; | 10957 return value; |
| 10956 } | 10958 } |
| 10957 }; | 10959 }; |
| 10958 | 10960 |
| 10959 } } // namespace v8::internal | 10961 } } // namespace v8::internal |
| 10960 | 10962 |
| 10961 #endif // V8_OBJECTS_H_ | 10963 #endif // V8_OBJECTS_H_ |
| OLD | NEW |