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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 const dart::String& DartString(const char* content) { | 290 const dart::String& DartString(const char* content) { |
291 return DartString(content, allocation_space_); | 291 return DartString(content, allocation_space_); |
292 } | 292 } |
293 const dart::String& DartString(const char* content, Heap::Space space); | 293 const dart::String& DartString(const char* content, Heap::Space space); |
294 | 294 |
295 dart::String& DartString(String* content) { | 295 dart::String& DartString(String* content) { |
296 return DartString(content, allocation_space_); | 296 return DartString(content, allocation_space_); |
297 } | 297 } |
298 dart::String& DartString(String* content, Heap::Space space); | 298 dart::String& DartString(String* content, Heap::Space space); |
299 | 299 |
| 300 dart::String& DartString(const uint8_t* utf8_array, intptr_t len) { |
| 301 return DartString(utf8_array, len, allocation_space_); |
| 302 } |
| 303 dart::String& DartString(const uint8_t* utf8_array, |
| 304 intptr_t len, |
| 305 Heap::Space space); |
| 306 |
300 const dart::String& DartSymbol(const char* content) const; | 307 const dart::String& DartSymbol(const char* content) const; |
301 dart::String& DartSymbol(String* content) const; | 308 dart::String& DartSymbol(String* content) const; |
302 dart::String& DartSymbol(const uint8_t* utf8_array, intptr_t len) const; | 309 dart::String& DartSymbol(const uint8_t* utf8_array, intptr_t len) const; |
303 | 310 |
304 const dart::String& DartClassName(CanonicalName* kernel_klass); | 311 const dart::String& DartClassName(CanonicalName* kernel_klass); |
305 const dart::String& DartConstructorName(Constructor* node); | 312 const dart::String& DartConstructorName(Constructor* node); |
306 const dart::String& DartProcedureName(Procedure* procedure); | 313 const dart::String& DartProcedureName(Procedure* procedure); |
307 | 314 |
308 const dart::String& DartSetterName(Name* kernel_name); | 315 const dart::String& DartSetterName(Name* kernel_name); |
309 const dart::String& DartGetterName(Name* kernel_name); | 316 const dart::String& DartGetterName(Name* kernel_name); |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1105 namespace kernel { | 1112 namespace kernel { |
1106 | 1113 |
1107 RawObject* EvaluateMetadata(TreeNode* const kernel_node); | 1114 RawObject* EvaluateMetadata(TreeNode* const kernel_node); |
1108 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node); | 1115 RawObject* BuildParameterDescriptor(TreeNode* const kernel_node); |
1109 | 1116 |
1110 } // namespace kernel | 1117 } // namespace kernel |
1111 } // namespace dart | 1118 } // namespace dart |
1112 | 1119 |
1113 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 1120 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
1114 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ | 1121 #endif // RUNTIME_VM_KERNEL_TO_IL_H_ |
OLD | NEW |