OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 RUNTIME_VM_KERNEL_TO_IL_H_ | 5 #ifndef RUNTIME_VM_KERNEL_TO_IL_H_ |
6 #define RUNTIME_VM_KERNEL_TO_IL_H_ | 6 #define RUNTIME_VM_KERNEL_TO_IL_H_ |
7 | 7 |
8 #if !defined(DART_PRECOMPILED_RUNTIME) | 8 #if !defined(DART_PRECOMPILED_RUNTIME) |
9 | 9 |
10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 } | 295 } |
296 const dart::String& DartString(const char* content, Heap::Space space); | 296 const dart::String& DartString(const char* content, Heap::Space space); |
297 | 297 |
298 dart::String& DartString(String* content) { | 298 dart::String& DartString(String* content) { |
299 return DartString(content, allocation_space_); | 299 return DartString(content, allocation_space_); |
300 } | 300 } |
301 dart::String& DartString(String* content, Heap::Space space); | 301 dart::String& DartString(String* content, Heap::Space space); |
302 | 302 |
303 const dart::String& DartSymbol(const char* content) const; | 303 const dart::String& DartSymbol(const char* content) const; |
304 dart::String& DartSymbol(String* content) const; | 304 dart::String& DartSymbol(String* content) const; |
| 305 dart::String& DartSymbol(const uint8_t* utf8_array, intptr_t len) const; |
305 | 306 |
306 const dart::String& DartClassName(CanonicalName* kernel_klass); | 307 const dart::String& DartClassName(CanonicalName* kernel_klass); |
307 const dart::String& DartConstructorName(Constructor* node); | 308 const dart::String& DartConstructorName(Constructor* node); |
308 const dart::String& DartProcedureName(Procedure* procedure); | 309 const dart::String& DartProcedureName(Procedure* procedure); |
309 | 310 |
310 const dart::String& DartSetterName(Name* kernel_name); | 311 const dart::String& DartSetterName(Name* kernel_name); |
311 const dart::String& DartGetterName(Name* kernel_name); | 312 const dart::String& DartGetterName(Name* kernel_name); |
312 const dart::String& DartFieldName(Name* kernel_name); | 313 const dart::String& DartFieldName(Name* kernel_name); |
313 const dart::String& DartInitializerName(Name* kernel_name); | 314 const dart::String& DartInitializerName(Name* kernel_name); |
314 const dart::String& DartMethodName(Name* kernel_name); | 315 const dart::String& DartMethodName(Name* kernel_name); |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1110 namespace kernel { | 1111 namespace kernel { |
1111 | 1112 |
1112 RawObject* EvaluateMetadata(TreeNode* const kernel_node); | 1113 RawObject* EvaluateMetadata(TreeNode* const kernel_node); |
1113 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node); | 1114 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node); |
1114 | 1115 |
1115 } // namespace kernel | 1116 } // namespace kernel |
1116 } // namespace dart | 1117 } // namespace dart |
1117 | 1118 |
1118 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 1119 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
1119 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ | 1120 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ |
OLD | NEW |