| 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 "include/v8.h" |
| 8 #include "src/allocation.h" | 9 #include "src/allocation.h" |
| 9 #include "src/globals.h" | 10 #include "src/globals.h" |
| 11 #include "src/handles.h" |
| 12 #include "src/property-details.h" |
| 10 | 13 |
| 11 namespace v8 { | 14 namespace v8 { |
| 12 namespace internal { | 15 namespace internal { |
| 13 | 16 |
| 14 // The list of accessor descriptors. This is a second-order macro | 17 // The list of accessor descriptors. This is a second-order macro |
| 15 // taking a macro to be applied to all accessor descriptor names. | 18 // taking a macro to be applied to all accessor descriptor names. |
| 16 #define ACCESSOR_INFO_LIST(V) \ | 19 #define ACCESSOR_INFO_LIST(V) \ |
| 17 V(ArgumentsIterator) \ | 20 V(ArgumentsIterator) \ |
| 18 V(ArrayLength) \ | 21 V(ArrayLength) \ |
| 19 V(FunctionArguments) \ | 22 V(FunctionArguments) \ |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 PropertyAttributes attributes); | 99 PropertyAttributes attributes); |
| 97 | 100 |
| 98 static Handle<ExecutableAccessorInfo> CloneAccessor( | 101 static Handle<ExecutableAccessorInfo> CloneAccessor( |
| 99 Isolate* isolate, | 102 Isolate* isolate, |
| 100 Handle<ExecutableAccessorInfo> accessor); | 103 Handle<ExecutableAccessorInfo> accessor); |
| 101 }; | 104 }; |
| 102 | 105 |
| 103 } } // namespace v8::internal | 106 } } // namespace v8::internal |
| 104 | 107 |
| 105 #endif // V8_ACCESSORS_H_ | 108 #endif // V8_ACCESSORS_H_ |
| OLD | NEW |