| 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 "src/allocation.h" |
| 9 #include "globals.h" | 9 #include "src/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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 | 93 |
| 94 private: | 94 private: |
| 95 // Helper functions. | 95 // Helper functions. |
| 96 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); | 96 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } } // namespace v8::internal | 99 } } // namespace v8::internal |
| 100 | 100 |
| 101 #endif // V8_ACCESSORS_H_ | 101 #endif // V8_ACCESSORS_H_ |
| OLD | NEW |