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 "elements.h" | 15 #include "src/elements.h" |
16 #include "objects.h" | 16 #include "src/objects.h" |
17 #include "contexts.h" | 17 #include "src/contexts.h" |
18 #include "conversions-inl.h" | 18 #include "src/conversions-inl.h" |
19 #include "heap.h" | 19 #include "src/heap.h" |
20 #include "isolate.h" | 20 #include "src/isolate.h" |
21 #include "heap-inl.h" | 21 #include "src/heap-inl.h" |
22 #include "property.h" | 22 #include "src/property.h" |
23 #include "spaces.h" | 23 #include "src/spaces.h" |
24 #include "store-buffer.h" | 24 #include "src/store-buffer.h" |
25 #include "v8memory.h" | 25 #include "src/v8memory.h" |
26 #include "factory.h" | 26 #include "src/factory.h" |
27 #include "incremental-marking.h" | 27 #include "src/incremental-marking.h" |
28 #include "transitions-inl.h" | 28 #include "src/transitions-inl.h" |
29 #include "objects-visiting.h" | 29 #include "src/objects-visiting.h" |
30 | 30 |
31 namespace v8 { | 31 namespace v8 { |
32 namespace internal { | 32 namespace internal { |
33 | 33 |
34 PropertyDetails::PropertyDetails(Smi* smi) { | 34 PropertyDetails::PropertyDetails(Smi* smi) { |
35 value_ = smi->value(); | 35 value_ = smi->value(); |
36 } | 36 } |
37 | 37 |
38 | 38 |
39 Smi* PropertyDetails::AsSmi() const { | 39 Smi* PropertyDetails::AsSmi() const { |
(...skipping 6811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6851 #undef READ_SHORT_FIELD | 6851 #undef READ_SHORT_FIELD |
6852 #undef WRITE_SHORT_FIELD | 6852 #undef WRITE_SHORT_FIELD |
6853 #undef READ_BYTE_FIELD | 6853 #undef READ_BYTE_FIELD |
6854 #undef WRITE_BYTE_FIELD | 6854 #undef WRITE_BYTE_FIELD |
6855 #undef NOBARRIER_READ_BYTE_FIELD | 6855 #undef NOBARRIER_READ_BYTE_FIELD |
6856 #undef NOBARRIER_WRITE_BYTE_FIELD | 6856 #undef NOBARRIER_WRITE_BYTE_FIELD |
6857 | 6857 |
6858 } } // namespace v8::internal | 6858 } } // namespace v8::internal |
6859 | 6859 |
6860 #endif // V8_OBJECTS_INL_H_ | 6860 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |