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

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

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/bootstrap_natives.cc ('k') | runtime/vm/object.cc » ('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 #ifndef VM_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include "include/dart_api.h" 9 #include "include/dart_api.h"
10 #include "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 2743 matching lines...) Expand 10 before | Expand all | Expand 10 after
2754 return raw() == CoreLibrary(); 2754 return raw() == CoreLibrary();
2755 } 2755 }
2756 2756
2757 static RawLibrary* LookupLibrary(const String& url); 2757 static RawLibrary* LookupLibrary(const String& url);
2758 static RawLibrary* GetLibrary(intptr_t index); 2758 static RawLibrary* GetLibrary(intptr_t index);
2759 2759
2760 static void InitCoreLibrary(Isolate* isolate); 2760 static void InitCoreLibrary(Isolate* isolate);
2761 static void InitNativeWrappersLibrary(Isolate* isolate); 2761 static void InitNativeWrappersLibrary(Isolate* isolate);
2762 2762
2763 static RawLibrary* AsyncLibrary(); 2763 static RawLibrary* AsyncLibrary();
2764 static RawLibrary* ConvertLibrary();
2764 static RawLibrary* CoreLibrary(); 2765 static RawLibrary* CoreLibrary();
2765 static RawLibrary* CollectionLibrary(); 2766 static RawLibrary* CollectionLibrary();
2766 static RawLibrary* InternalLibrary(); 2767 static RawLibrary* InternalLibrary();
2767 static RawLibrary* IsolateLibrary(); 2768 static RawLibrary* IsolateLibrary();
2768 static RawLibrary* MathLibrary(); 2769 static RawLibrary* MathLibrary();
2769 static RawLibrary* MirrorsLibrary(); 2770 static RawLibrary* MirrorsLibrary();
2770 static RawLibrary* NativeWrappersLibrary(); 2771 static RawLibrary* NativeWrappersLibrary();
2771 static RawLibrary* TypedDataLibrary(); 2772 static RawLibrary* TypedDataLibrary();
2772 static RawLibrary* ProfilerLibrary(); 2773 static RawLibrary* ProfilerLibrary();
2773 2774
(...skipping 4378 matching lines...) Expand 10 before | Expand all | Expand 10 after
7152 7153
7153 7154
7154 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 7155 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
7155 intptr_t index) { 7156 intptr_t index) {
7156 return array.At((index * kEntryLength) + kTargetFunctionIndex); 7157 return array.At((index * kEntryLength) + kTargetFunctionIndex);
7157 } 7158 }
7158 7159
7159 } // namespace dart 7160 } // namespace dart
7160 7161
7161 #endif // VM_OBJECT_H_ 7162 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_natives.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698