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

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

Issue 385163002: Make VM JSON parser parse doubles without doing substring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix bad whitespace edit. Created 6 years, 5 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/object.h ('k') | tests/lib/convert/json_test.dart » ('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/cpu.h" 10 #include "vm/cpu.h"
(...skipping 9432 matching lines...) Expand 10 before | Expand all | Expand 10 after
9443 set_index(libs.Length()); 9443 set_index(libs.Length());
9444 libs.Add(*this); 9444 libs.Add(*this);
9445 } 9445 }
9446 9446
9447 9447
9448 RawLibrary* Library::AsyncLibrary() { 9448 RawLibrary* Library::AsyncLibrary() {
9449 return Isolate::Current()->object_store()->async_library(); 9449 return Isolate::Current()->object_store()->async_library();
9450 } 9450 }
9451 9451
9452 9452
9453 RawLibrary* Library::ConvertLibrary() {
9454 return Isolate::Current()->object_store()->convert_library();
9455 }
9456
9457
9453 RawLibrary* Library::CoreLibrary() { 9458 RawLibrary* Library::CoreLibrary() {
9454 return Isolate::Current()->object_store()->core_library(); 9459 return Isolate::Current()->object_store()->core_library();
9455 } 9460 }
9456 9461
9457 9462
9458 RawLibrary* Library::CollectionLibrary() { 9463 RawLibrary* Library::CollectionLibrary() {
9459 return Isolate::Current()->object_store()->collection_library(); 9464 return Isolate::Current()->object_store()->collection_library();
9460 } 9465 }
9461 9466
9462 9467
(...skipping 9572 matching lines...) Expand 10 before | Expand all | Expand 10 after
19035 return tag_label.ToCString(); 19040 return tag_label.ToCString();
19036 } 19041 }
19037 19042
19038 19043
19039 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 19044 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
19040 Instance::PrintJSONImpl(stream, ref); 19045 Instance::PrintJSONImpl(stream, ref);
19041 } 19046 }
19042 19047
19043 19048
19044 } // namespace dart 19049 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | tests/lib/convert/json_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698