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 // Review notes: | 5 // Review notes: |
6 // | 6 // |
7 // - The use of macros in these inline functions may seem superfluous | 7 // - The use of macros in these inline functions may seem superfluous |
8 // but it is absolutely needed to make sure gcc generates optimal | 8 // but it is absolutely needed to make sure gcc generates optimal |
9 // code. gcc is not happy when attempting to inline too deep. | 9 // code. gcc is not happy when attempting to inline too deep. |
10 // | 10 // |
11 | 11 |
12 #ifndef V8_OBJECTS_INL_H_ | 12 #ifndef V8_OBJECTS_INL_H_ |
13 #define V8_OBJECTS_INL_H_ | 13 #define V8_OBJECTS_INL_H_ |
14 | 14 |
15 #include "src/base/atomicops.h" | 15 #include "src/base/atomicops.h" |
16 #include "src/elements.h" | |
17 #include "src/objects.h" | |
18 #include "src/contexts.h" | 16 #include "src/contexts.h" |
19 #include "src/conversions-inl.h" | 17 #include "src/conversions-inl.h" |
| 18 #include "src/elements.h" |
| 19 #include "src/factory.h" |
20 #include "src/field-index-inl.h" | 20 #include "src/field-index-inl.h" |
| 21 #include "src/heap-inl.h" |
21 #include "src/heap.h" | 22 #include "src/heap.h" |
| 23 #include "src/incremental-marking.h" |
22 #include "src/isolate.h" | 24 #include "src/isolate.h" |
23 #include "src/heap-inl.h" | 25 #include "src/lookup.h" |
| 26 #include "src/objects.h" |
| 27 #include "src/objects-visiting.h" |
24 #include "src/property.h" | 28 #include "src/property.h" |
25 #include "src/spaces.h" | 29 #include "src/spaces.h" |
26 #include "src/store-buffer.h" | 30 #include "src/store-buffer.h" |
| 31 #include "src/transitions-inl.h" |
27 #include "src/v8memory.h" | 32 #include "src/v8memory.h" |
28 #include "src/factory.h" | |
29 #include "src/incremental-marking.h" | |
30 #include "src/transitions-inl.h" | |
31 #include "src/objects-visiting.h" | |
32 #include "src/lookup.h" | |
33 | 33 |
34 namespace v8 { | 34 namespace v8 { |
35 namespace internal { | 35 namespace internal { |
36 | 36 |
37 PropertyDetails::PropertyDetails(Smi* smi) { | 37 PropertyDetails::PropertyDetails(Smi* smi) { |
38 value_ = smi->value(); | 38 value_ = smi->value(); |
39 } | 39 } |
40 | 40 |
41 | 41 |
42 Smi* PropertyDetails::AsSmi() const { | 42 Smi* PropertyDetails::AsSmi() const { |
(...skipping 6943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6986 #undef READ_SHORT_FIELD | 6986 #undef READ_SHORT_FIELD |
6987 #undef WRITE_SHORT_FIELD | 6987 #undef WRITE_SHORT_FIELD |
6988 #undef READ_BYTE_FIELD | 6988 #undef READ_BYTE_FIELD |
6989 #undef WRITE_BYTE_FIELD | 6989 #undef WRITE_BYTE_FIELD |
6990 #undef NOBARRIER_READ_BYTE_FIELD | 6990 #undef NOBARRIER_READ_BYTE_FIELD |
6991 #undef NOBARRIER_WRITE_BYTE_FIELD | 6991 #undef NOBARRIER_WRITE_BYTE_FIELD |
6992 | 6992 |
6993 } } // namespace v8::internal | 6993 } } // namespace v8::internal |
6994 | 6994 |
6995 #endif // V8_OBJECTS_INL_H_ | 6995 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |