Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(391)

Side by Side Diff: runtime/vm/reusable_handles.h

Issue 1934263003: - Add a new constructor to the hash table classes that allow handles to be passed in instead of cre… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address-code-review-comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/symbols.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/symbols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698