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/contexts.h" | 16 #include "src/contexts.h" |
17 #include "src/conversions-inl.h" | 17 #include "src/conversions-inl.h" |
18 #include "src/elements.h" | 18 #include "src/elements.h" |
19 #include "src/factory.h" | 19 #include "src/factory.h" |
20 #include "src/field-index-inl.h" | 20 #include "src/field-index-inl.h" |
21 #include "src/heap/heap-inl.h" | 21 #include "src/heap/heap-inl.h" |
22 #include "src/heap/heap.h" | 22 #include "src/heap/heap.h" |
23 #include "src/heap/incremental-marking.h" | 23 #include "src/heap/incremental-marking.h" |
24 #include "src/heap/objects-visiting.h" | 24 #include "src/heap/objects-visiting.h" |
25 #include "src/heap/spaces.h" | 25 #include "src/heap/spaces.h" |
| 26 #include "src/heap/store-buffer.h" |
26 #include "src/isolate.h" | 27 #include "src/isolate.h" |
27 #include "src/lookup.h" | 28 #include "src/lookup.h" |
28 #include "src/objects.h" | 29 #include "src/objects.h" |
29 #include "src/property.h" | 30 #include "src/property.h" |
30 #include "src/prototype.h" | 31 #include "src/prototype.h" |
31 #include "src/store-buffer.h" | |
32 #include "src/transitions-inl.h" | 32 #include "src/transitions-inl.h" |
33 #include "src/v8memory.h" | 33 #include "src/v8memory.h" |
34 | 34 |
35 namespace v8 { | 35 namespace v8 { |
36 namespace internal { | 36 namespace internal { |
37 | 37 |
38 PropertyDetails::PropertyDetails(Smi* smi) { | 38 PropertyDetails::PropertyDetails(Smi* smi) { |
39 value_ = smi->value(); | 39 value_ = smi->value(); |
40 } | 40 } |
41 | 41 |
(...skipping 7244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7286 #undef READ_SHORT_FIELD | 7286 #undef READ_SHORT_FIELD |
7287 #undef WRITE_SHORT_FIELD | 7287 #undef WRITE_SHORT_FIELD |
7288 #undef READ_BYTE_FIELD | 7288 #undef READ_BYTE_FIELD |
7289 #undef WRITE_BYTE_FIELD | 7289 #undef WRITE_BYTE_FIELD |
7290 #undef NOBARRIER_READ_BYTE_FIELD | 7290 #undef NOBARRIER_READ_BYTE_FIELD |
7291 #undef NOBARRIER_WRITE_BYTE_FIELD | 7291 #undef NOBARRIER_WRITE_BYTE_FIELD |
7292 | 7292 |
7293 } } // namespace v8::internal | 7293 } } // namespace v8::internal |
7294 | 7294 |
7295 #endif // V8_OBJECTS_INL_H_ | 7295 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |