Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Side by Side Diff: runtime/vm/object.cc

Issue 12827018: Add a new implementation of HashMap that uses JS objects for its (multiple) hash tables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove type. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/bootstrap.cc ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 976 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 // The corresponding type, the "unknown type", is stored in the object store. 987 // The corresponding type, the "unknown type", is stored in the object store.
988 cls = dynamic_class(); 988 cls = dynamic_class();
989 type = Type::NewNonParameterizedType(cls); 989 type = Type::NewNonParameterizedType(cls);
990 object_store->set_dynamic_type(type); 990 object_store->set_dynamic_type(type);
991 991
992 // Finish the initialization by compiling the bootstrap scripts containing the 992 // Finish the initialization by compiling the bootstrap scripts containing the
993 // base interfaces and the implementation of the internal classes. 993 // base interfaces and the implementation of the internal classes.
994 INIT_LIBRARY(Core, core, true); 994 INIT_LIBRARY(Core, core, true);
995 995
996 INIT_LIBRARY(Async, async, true); 996 INIT_LIBRARY(Async, async, true);
997 INIT_LIBRARY(Collection, collection, false); 997 INIT_LIBRARY(Collection, collection, true);
998 INIT_LIBRARY(CollectionDev, collection_dev, false); 998 INIT_LIBRARY(CollectionDev, collection_dev, false);
999 INIT_LIBRARY(Crypto, crypto, false); 999 INIT_LIBRARY(Crypto, crypto, false);
1000 INIT_LIBRARY(Isolate, isolate, true); 1000 INIT_LIBRARY(Isolate, isolate, true);
1001 INIT_LIBRARY(Json, json, true); 1001 INIT_LIBRARY(Json, json, true);
1002 INIT_LIBRARY(Math, math, true); 1002 INIT_LIBRARY(Math, math, true);
1003 INIT_LIBRARY(Mirrors, mirrors, true); 1003 INIT_LIBRARY(Mirrors, mirrors, true);
1004 INIT_LIBRARY(TypedData, typeddata, true); 1004 INIT_LIBRARY(TypedData, typeddata, true);
1005 INIT_LIBRARY(Utf, utf, false); 1005 INIT_LIBRARY(Utf, utf, false);
1006 INIT_LIBRARY(Uri, uri, false); 1006 INIT_LIBRARY(Uri, uri, false);
1007 1007
(...skipping 12039 matching lines...) Expand 10 before | Expand all | Expand 10 after
13047 } 13047 }
13048 return result.raw(); 13048 return result.raw();
13049 } 13049 }
13050 13050
13051 13051
13052 const char* WeakProperty::ToCString() const { 13052 const char* WeakProperty::ToCString() const {
13053 return "_WeakProperty"; 13053 return "_WeakProperty";
13054 } 13054 }
13055 13055
13056 } // namespace dart 13056 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap.cc ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698