| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 #include "vm/object.h" | 5 #include "vm/object.h" |
| 6 | 6 |
| 7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 #include "vm/cpu.h" | 10 #include "vm/cpu.h" |
| (...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1077 cls = Class::New<ReceivePort>(); | 1077 cls = Class::New<ReceivePort>(); |
| 1078 RegisterPrivateClass(cls, Symbols::_RawReceivePortImpl(), isolate_lib); | 1078 RegisterPrivateClass(cls, Symbols::_RawReceivePortImpl(), isolate_lib); |
| 1079 pending_classes.Add(cls); | 1079 pending_classes.Add(cls); |
| 1080 | 1080 |
| 1081 cls = Class::New<SendPort>(); | 1081 cls = Class::New<SendPort>(); |
| 1082 RegisterPrivateClass(cls, Symbols::_SendPortImpl(), isolate_lib); | 1082 RegisterPrivateClass(cls, Symbols::_SendPortImpl(), isolate_lib); |
| 1083 pending_classes.Add(cls); | 1083 pending_classes.Add(cls); |
| 1084 | 1084 |
| 1085 const Class& stacktrace_cls = Class::Handle(isolate, | 1085 const Class& stacktrace_cls = Class::Handle(isolate, |
| 1086 Class::New<Stacktrace>()); | 1086 Class::New<Stacktrace>()); |
| 1087 RegisterClass(stacktrace_cls, Symbols::StackTrace(), core_lib); | 1087 RegisterPrivateClass(stacktrace_cls, Symbols::_StackTrace(), core_lib); |
| 1088 pending_classes.Add(stacktrace_cls); | 1088 pending_classes.Add(stacktrace_cls); |
| 1089 // Super type set below, after Object is allocated. | 1089 // Super type set below, after Object is allocated. |
| 1090 | 1090 |
| 1091 cls = Class::New<JSRegExp>(); | 1091 cls = Class::New<JSRegExp>(); |
| 1092 RegisterPrivateClass(cls, Symbols::JSSyntaxRegExp(), core_lib); | 1092 RegisterPrivateClass(cls, Symbols::JSSyntaxRegExp(), core_lib); |
| 1093 pending_classes.Add(cls); | 1093 pending_classes.Add(cls); |
| 1094 | 1094 |
| 1095 // Initialize the base interfaces used by the core VM classes. | 1095 // Initialize the base interfaces used by the core VM classes. |
| 1096 | 1096 |
| 1097 // Allocate and initialize the pre-allocated classes in the core library. | 1097 // Allocate and initialize the pre-allocated classes in the core library. |
| (...skipping 19582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20680 return tag_label.ToCString(); | 20680 return tag_label.ToCString(); |
| 20681 } | 20681 } |
| 20682 | 20682 |
| 20683 | 20683 |
| 20684 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 20684 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 20685 Instance::PrintJSONImpl(stream, ref); | 20685 Instance::PrintJSONImpl(stream, ref); |
| 20686 } | 20686 } |
| 20687 | 20687 |
| 20688 | 20688 |
| 20689 } // namespace dart | 20689 } // namespace dart |
| OLD | NEW |