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_ACCESSORS_H_ | 5 #ifndef V8_ACCESSORS_H_ |
6 #define V8_ACCESSORS_H_ | 6 #define V8_ACCESSORS_H_ |
7 | 7 |
8 #include "allocation.h" | 8 #include "allocation.h" |
9 #include "v8globals.h" | 9 #include "globals.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 // The list of accessor descriptors. This is a second-order macro | 14 // The list of accessor descriptors. This is a second-order macro |
15 // taking a macro to be applied to all accessor descriptor names. | 15 // taking a macro to be applied to all accessor descriptor names. |
16 #define ACCESSOR_INFO_LIST(V) \ | 16 #define ACCESSOR_INFO_LIST(V) \ |
17 V(ArrayLength) \ | 17 V(ArrayLength) \ |
18 V(FunctionArguments) \ | 18 V(FunctionArguments) \ |
19 V(FunctionCaller) \ | 19 V(FunctionCaller) \ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 PropertyAttributes attributes); | 87 PropertyAttributes attributes); |
88 | 88 |
89 private: | 89 private: |
90 // Helper functions. | 90 // Helper functions. |
91 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); | 91 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); |
92 }; | 92 }; |
93 | 93 |
94 } } // namespace v8::internal | 94 } } // namespace v8::internal |
95 | 95 |
96 #endif // V8_ACCESSORS_H_ | 96 #endif // V8_ACCESSORS_H_ |
OLD | NEW |