OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_REUSABLE_HANDLES_H_ | 5 #ifndef VM_REUSABLE_HANDLES_H_ |
6 #define VM_REUSABLE_HANDLES_H_ | 6 #define VM_REUSABLE_HANDLES_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/handles.h" | 9 #include "vm/handles.h" |
10 #include "vm/object.h" | 10 #include "vm/object.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 #define REUSABLE_CLASS_HANDLESCOPE(isolate) \ | 88 #define REUSABLE_CLASS_HANDLESCOPE(isolate) \ |
89 ReusableClassHandleScope reused_class_handle(isolate); | 89 ReusableClassHandleScope reused_class_handle(isolate); |
90 #define REUSABLE_CODE_HANDLESCOPE(isolate) \ | 90 #define REUSABLE_CODE_HANDLESCOPE(isolate) \ |
91 ReusableCodeHandleScope reused_code_handle(isolate); | 91 ReusableCodeHandleScope reused_code_handle(isolate); |
92 #define REUSABLE_ERROR_HANDLESCOPE(isolate) \ | 92 #define REUSABLE_ERROR_HANDLESCOPE(isolate) \ |
93 ReusableErrorHandleScope reused_error_handle(isolate); | 93 ReusableErrorHandleScope reused_error_handle(isolate); |
94 #define REUSABLE_FIELD_HANDLESCOPE(isolate) \ | 94 #define REUSABLE_FIELD_HANDLESCOPE(isolate) \ |
95 ReusableFieldHandleScope reused_field_handle(isolate); | 95 ReusableFieldHandleScope reused_field_handle(isolate); |
96 #define REUSABLE_FUNCTION_HANDLESCOPE(isolate) \ | 96 #define REUSABLE_FUNCTION_HANDLESCOPE(isolate) \ |
97 ReusableFunctionHandleScope reused_function_handle(isolate); | 97 ReusableFunctionHandleScope reused_function_handle(isolate); |
| 98 #define REUSABLE_GROWABLE_OBJECT_ARRAY_HANDLESCOPE(isolate) \ |
| 99 ReusableGrowableObjectArrayHandleScope \ |
| 100 reused_growable_object_array_handle(isolate) |
98 #define REUSABLE_INSTANCE_HANDLESCOPE(isolate) \ | 101 #define REUSABLE_INSTANCE_HANDLESCOPE(isolate) \ |
99 ReusableInstanceHandleScope reused_instance_handle(isolate); | 102 ReusableInstanceHandleScope reused_instance_handle(isolate); |
| 103 #define REUSABLE_LIBRARY_HANDLESCOPE(isolate) \ |
| 104 ReusableLibraryHandleScope reused_library_handle(isolate); |
100 #define REUSABLE_OBJECT_HANDLESCOPE(isolate) \ | 105 #define REUSABLE_OBJECT_HANDLESCOPE(isolate) \ |
101 ReusableObjectHandleScope reused_object_handle(isolate); | 106 ReusableObjectHandleScope reused_object_handle(isolate); |
102 #define REUSABLE_STRING_HANDLESCOPE(isolate) \ | 107 #define REUSABLE_STRING_HANDLESCOPE(isolate) \ |
103 ReusableStringHandleScope reused_string_handle(isolate); | 108 ReusableStringHandleScope reused_string_handle(isolate); |
104 #define REUSABLE_TYPE_ARGUMENTS_HANDLESCOPE(isolate) \ | 109 #define REUSABLE_TYPE_ARGUMENTS_HANDLESCOPE(isolate) \ |
105 ReusableTypeArgumentsHandleScope reused_type_arguments_handle(isolate); | 110 ReusableTypeArgumentsHandleScope reused_type_arguments_handle(isolate); |
106 #define REUSABLE_TYPE_PARAMETER_HANDLESCOPE(isolate) \ | 111 #define REUSABLE_TYPE_PARAMETER_HANDLESCOPE(isolate) \ |
107 ReusableTypeParameterHandleScope reused_type_parameter(isolate); | 112 ReusableTypeParameterHandleScope reused_type_parameter(isolate); |
108 | 113 |
109 | 114 |
110 } // namespace dart | 115 } // namespace dart |
111 | 116 |
112 #endif // VM_REUSABLE_HANDLES_H_ | 117 #endif // VM_REUSABLE_HANDLES_H_ |
OLD | NEW |