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/bigint_operations.h" | 10 #include "vm/bigint_operations.h" |
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 // The corresponding type, the "unknown type", is stored in the object store. | 1002 // The corresponding type, the "unknown type", is stored in the object store. |
1003 cls = dynamic_class(); | 1003 cls = dynamic_class(); |
1004 type = Type::NewNonParameterizedType(cls); | 1004 type = Type::NewNonParameterizedType(cls); |
1005 object_store->set_dynamic_type(type); | 1005 object_store->set_dynamic_type(type); |
1006 | 1006 |
1007 // Finish the initialization by compiling the bootstrap scripts containing the | 1007 // Finish the initialization by compiling the bootstrap scripts containing the |
1008 // base interfaces and the implementation of the internal classes. | 1008 // base interfaces and the implementation of the internal classes. |
1009 INIT_LIBRARY(Core, core, true); | 1009 INIT_LIBRARY(Core, core, true); |
1010 | 1010 |
1011 INIT_LIBRARY(Async, async, true); | 1011 INIT_LIBRARY(Async, async, true); |
1012 INIT_LIBRARY(Collection, collection, false); | 1012 INIT_LIBRARY(Collection, collection, true); |
1013 INIT_LIBRARY(CollectionDev, collection_dev, false); | 1013 INIT_LIBRARY(CollectionDev, collection_dev, false); |
1014 INIT_LIBRARY(Crypto, crypto, false); | 1014 INIT_LIBRARY(Crypto, crypto, false); |
1015 INIT_LIBRARY(Isolate, isolate, true); | 1015 INIT_LIBRARY(Isolate, isolate, true); |
1016 INIT_LIBRARY(Json, json, true); | 1016 INIT_LIBRARY(Json, json, true); |
1017 INIT_LIBRARY(Math, math, true); | 1017 INIT_LIBRARY(Math, math, true); |
1018 INIT_LIBRARY(Mirrors, mirrors, true); | 1018 INIT_LIBRARY(Mirrors, mirrors, true); |
1019 INIT_LIBRARY(Scalarlist, scalarlist, true); | 1019 INIT_LIBRARY(Scalarlist, scalarlist, true); |
1020 INIT_LIBRARY(TypedData, typeddata, true); | 1020 INIT_LIBRARY(TypedData, typeddata, true); |
1021 INIT_LIBRARY(Utf, utf, false); | 1021 INIT_LIBRARY(Utf, utf, false); |
1022 INIT_LIBRARY(Uri, uri, false); | 1022 INIT_LIBRARY(Uri, uri, false); |
(...skipping 12595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13618 } | 13618 } |
13619 return result.raw(); | 13619 return result.raw(); |
13620 } | 13620 } |
13621 | 13621 |
13622 | 13622 |
13623 const char* WeakProperty::ToCString() const { | 13623 const char* WeakProperty::ToCString() const { |
13624 return "_WeakProperty"; | 13624 return "_WeakProperty"; |
13625 } | 13625 } |
13626 | 13626 |
13627 } // namespace dart | 13627 } // namespace dart |
OLD | NEW |