| 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 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1535 cls = Class::New<Stacktrace>(); | 1535 cls = Class::New<Stacktrace>(); |
| 1536 cls = Class::New<JSRegExp>(); | 1536 cls = Class::New<JSRegExp>(); |
| 1537 cls = Class::New<Number>(); | 1537 cls = Class::New<Number>(); |
| 1538 | 1538 |
| 1539 cls = Class::New<WeakProperty>(); | 1539 cls = Class::New<WeakProperty>(); |
| 1540 object_store->set_weak_property_class(cls); | 1540 object_store->set_weak_property_class(cls); |
| 1541 | 1541 |
| 1542 cls = Class::New<MirrorReference>(); | 1542 cls = Class::New<MirrorReference>(); |
| 1543 cls = Class::New<UserTag>(); | 1543 cls = Class::New<UserTag>(); |
| 1544 | 1544 |
| 1545 const Context& context = Context::Handle(isolate, |
| 1546 Context::New(0, Heap::kOld)); |
| 1547 object_store->set_empty_context(context); |
| 1548 |
| 1545 StubCode::InitBootstrapStubs(isolate); | 1549 StubCode::InitBootstrapStubs(isolate); |
| 1546 } | 1550 } |
| 1547 | 1551 |
| 1548 | 1552 |
| 1549 void Object::Print() const { | 1553 void Object::Print() const { |
| 1550 OS::Print("%s\n", ToCString()); | 1554 OS::Print("%s\n", ToCString()); |
| 1551 } | 1555 } |
| 1552 | 1556 |
| 1553 | 1557 |
| 1554 static void AddNameProperties(JSONObject* jsobj, | 1558 static void AddNameProperties(JSONObject* jsobj, |
| (...skipping 19193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20748 return tag_label.ToCString(); | 20752 return tag_label.ToCString(); |
| 20749 } | 20753 } |
| 20750 | 20754 |
| 20751 | 20755 |
| 20752 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 20756 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 20753 Instance::PrintJSONImpl(stream, ref); | 20757 Instance::PrintJSONImpl(stream, ref); |
| 20754 } | 20758 } |
| 20755 | 20759 |
| 20756 | 20760 |
| 20757 } // namespace dart | 20761 } // namespace dart |
| OLD | NEW |