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

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

Issue 10919267: Introduce a VM-only dart:scalarlist library for byte arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use abstract classes instead of interfaces. Created 8 years, 3 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
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 "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 2118 matching lines...) Expand 10 before | Expand all | Expand 10 after
2129 } 2129 }
2130 2130
2131 static RawLibrary* LookupLibrary(const String& url); 2131 static RawLibrary* LookupLibrary(const String& url);
2132 static RawLibrary* GetLibrary(intptr_t index); 2132 static RawLibrary* GetLibrary(intptr_t index);
2133 static bool IsKeyUsed(intptr_t key); 2133 static bool IsKeyUsed(intptr_t key);
2134 2134
2135 static void InitCoreLibrary(Isolate* isolate); 2135 static void InitCoreLibrary(Isolate* isolate);
2136 static void InitMathLibrary(Isolate* isolate); 2136 static void InitMathLibrary(Isolate* isolate);
2137 static void InitIsolateLibrary(Isolate* isolate); 2137 static void InitIsolateLibrary(Isolate* isolate);
2138 static void InitMirrorsLibrary(Isolate* isolate); 2138 static void InitMirrorsLibrary(Isolate* isolate);
2139 static void InitScalarlistLibrary(Isolate* isolate);
2140 static void InitNativeWrappersLibrary(Isolate* isolate);
2141
2139 static RawLibrary* CoreLibrary(); 2142 static RawLibrary* CoreLibrary();
2140 static RawLibrary* CoreImplLibrary(); 2143 static RawLibrary* CoreImplLibrary();
2141 static RawLibrary* MathLibrary(); 2144 static RawLibrary* MathLibrary();
2142 static RawLibrary* IsolateLibrary(); 2145 static RawLibrary* IsolateLibrary();
2143 static RawLibrary* MirrorsLibrary(); 2146 static RawLibrary* MirrorsLibrary();
2144 static void InitNativeWrappersLibrary(Isolate* isolate); 2147 static RawLibrary* ScalarlistLibrary();
2145 static RawLibrary* NativeWrappersLibrary(); 2148 static RawLibrary* NativeWrappersLibrary();
2146 2149
2147 // Eagerly compile all classes and functions in the library. 2150 // Eagerly compile all classes and functions in the library.
2148 static RawError* CompileAll(); 2151 static RawError* CompileAll();
2149 2152
2150 private: 2153 private:
2151 static const int kInitialImportsCapacity = 4; 2154 static const int kInitialImportsCapacity = 4;
2152 static const int kImportsCapacityIncrement = 8; 2155 static const int kImportsCapacityIncrement = 8;
2153 static RawLibrary* New(); 2156 static RawLibrary* New();
2154 2157
(...skipping 3463 matching lines...) Expand 10 before | Expand all | Expand 10 after
5618 if (this->CharAt(i) != str.CharAt(begin_index + i)) { 5621 if (this->CharAt(i) != str.CharAt(begin_index + i)) {
5619 return false; 5622 return false;
5620 } 5623 }
5621 } 5624 }
5622 return true; 5625 return true;
5623 } 5626 }
5624 5627
5625 } // namespace dart 5628 } // namespace dart
5626 5629
5627 #endif // VM_OBJECT_H_ 5630 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_nocorelib.cc ('k') | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698