| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 ReusableGrowableObjectArrayHandleScope \ | 103 ReusableGrowableObjectArrayHandleScope \ |
| 104 reused_growable_object_array_handle(thread) | 104 reused_growable_object_array_handle(thread) |
| 105 #define REUSABLE_INSTANCE_HANDLESCOPE(thread) \ | 105 #define REUSABLE_INSTANCE_HANDLESCOPE(thread) \ |
| 106 ReusableInstanceHandleScope reused_instance_handle(thread); | 106 ReusableInstanceHandleScope reused_instance_handle(thread); |
| 107 #define REUSABLE_LIBRARY_HANDLESCOPE(thread) \ | 107 #define REUSABLE_LIBRARY_HANDLESCOPE(thread) \ |
| 108 ReusableLibraryHandleScope reused_library_handle(thread); | 108 ReusableLibraryHandleScope reused_library_handle(thread); |
| 109 #define REUSABLE_OBJECT_HANDLESCOPE(thread) \ | 109 #define REUSABLE_OBJECT_HANDLESCOPE(thread) \ |
| 110 ReusableObjectHandleScope reused_object_handle(thread); | 110 ReusableObjectHandleScope reused_object_handle(thread); |
| 111 #define REUSABLE_PC_DESCRIPTORS_HANDLESCOPE(thread) \ | 111 #define REUSABLE_PC_DESCRIPTORS_HANDLESCOPE(thread) \ |
| 112 ReusablePcDescriptorsHandleScope reused_pc_descriptors_handle(thread); | 112 ReusablePcDescriptorsHandleScope reused_pc_descriptors_handle(thread); |
| 113 #define REUSABLE_SMI_HANDLESCOPE(thread) \ |
| 114 ReusableSmiHandleScope reused_smi_handle(thread); |
| 113 #define REUSABLE_STRING_HANDLESCOPE(thread) \ | 115 #define REUSABLE_STRING_HANDLESCOPE(thread) \ |
| 114 ReusableStringHandleScope reused_string_handle(thread); | 116 ReusableStringHandleScope reused_string_handle(thread); |
| 115 #define REUSABLE_TYPE_ARGUMENTS_HANDLESCOPE(thread) \ | 117 #define REUSABLE_TYPE_ARGUMENTS_HANDLESCOPE(thread) \ |
| 116 ReusableTypeArgumentsHandleScope reused_type_arguments_handle(thread); | 118 ReusableTypeArgumentsHandleScope reused_type_arguments_handle(thread); |
| 117 #define REUSABLE_TYPE_PARAMETER_HANDLESCOPE(thread) \ | 119 #define REUSABLE_TYPE_PARAMETER_HANDLESCOPE(thread) \ |
| 118 ReusableTypeParameterHandleScope reused_type_parameter(thread); | 120 ReusableTypeParameterHandleScope reused_type_parameter(thread); |
| 119 | 121 |
| 120 } // namespace dart | 122 } // namespace dart |
| 121 | 123 |
| 122 #endif // VM_REUSABLE_HANDLES_H_ | 124 #endif // VM_REUSABLE_HANDLES_H_ |
| OLD | NEW |