| 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 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 851 cls = CreateAndRegisterInterface("String", script, core_lib); | 851 cls = CreateAndRegisterInterface("String", script, core_lib); |
| 852 pending_classes.Add(cls, Heap::kOld); | 852 pending_classes.Add(cls, Heap::kOld); |
| 853 type = Type::NewNonParameterizedType(cls); | 853 type = Type::NewNonParameterizedType(cls); |
| 854 object_store->set_string_interface(type); | 854 object_store->set_string_interface(type); |
| 855 | 855 |
| 856 cls = CreateAndRegisterInterface("List", script, core_lib); | 856 cls = CreateAndRegisterInterface("List", script, core_lib); |
| 857 pending_classes.Add(cls, Heap::kOld); | 857 pending_classes.Add(cls, Heap::kOld); |
| 858 type = Type::NewNonParameterizedType(cls); | 858 type = Type::NewNonParameterizedType(cls); |
| 859 object_store->set_list_interface(type); | 859 object_store->set_list_interface(type); |
| 860 | 860 |
| 861 cls = CreateAndRegisterInterface("ByteArray", script, core_lib); | |
| 862 pending_classes.Add(cls, Heap::kOld); | |
| 863 type = Type::NewNonParameterizedType(cls); | |
| 864 object_store->set_byte_array_interface(type); | |
| 865 | |
| 866 cls = object_store->bool_class(); | 861 cls = object_store->bool_class(); |
| 867 type = Type::NewNonParameterizedType(cls); | 862 type = Type::NewNonParameterizedType(cls); |
| 868 object_store->set_bool_type(type); | 863 object_store->set_bool_type(type); |
| 869 | 864 |
| 870 cls = object_store->smi_class(); | 865 cls = object_store->smi_class(); |
| 871 type = Type::NewNonParameterizedType(cls); | 866 type = Type::NewNonParameterizedType(cls); |
| 872 object_store->set_smi_type(type); | 867 object_store->set_smi_type(type); |
| 873 | 868 |
| 874 cls = object_store->mint_class(); | 869 cls = object_store->mint_class(); |
| 875 type = Type::NewNonParameterizedType(cls); | 870 type = Type::NewNonParameterizedType(cls); |
| (...skipping 11298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12174 } | 12169 } |
| 12175 return result.raw(); | 12170 return result.raw(); |
| 12176 } | 12171 } |
| 12177 | 12172 |
| 12178 | 12173 |
| 12179 const char* WeakProperty::ToCString() const { | 12174 const char* WeakProperty::ToCString() const { |
| 12180 return "_WeakProperty"; | 12175 return "_WeakProperty"; |
| 12181 } | 12176 } |
| 12182 | 12177 |
| 12183 } // namespace dart | 12178 } // namespace dart |
| OLD | NEW |