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

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

Issue 24285002: Add private TypedList getters and setters to the invisible list (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « no previous file | no next file » | 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 V(CoreLibrary, Object, _instanceOf) \ 156 V(CoreLibrary, Object, _instanceOf) \
157 V(CoreLibrary, _ObjectArray, _ObjectArray.) \ 157 V(CoreLibrary, _ObjectArray, _ObjectArray.) \
158 V(CoreLibrary, AssertionError, _throwNew) \ 158 V(CoreLibrary, AssertionError, _throwNew) \
159 V(CoreLibrary, TypeError, _throwNew) \ 159 V(CoreLibrary, TypeError, _throwNew) \
160 V(CoreLibrary, FallThroughError, _throwNew) \ 160 V(CoreLibrary, FallThroughError, _throwNew) \
161 V(CoreLibrary, AbstractClassInstantiationError, _throwNew) \ 161 V(CoreLibrary, AbstractClassInstantiationError, _throwNew) \
162 V(CoreLibrary, int, _throwFormatException) \ 162 V(CoreLibrary, int, _throwFormatException) \
163 V(CoreLibrary, int, _parse) \ 163 V(CoreLibrary, int, _parse) \
164 V(CoreLibrary, StackTrace, _setupFullStackTrace) \ 164 V(CoreLibrary, StackTrace, _setupFullStackTrace) \
165 V(CoreLibrary, _OneByteString, _setAt) \ 165 V(CoreLibrary, _OneByteString, _setAt) \
166 V(TypedDataLibrary, _TypedList, _getInt8) \
167 V(TypedDataLibrary, _TypedList, _setInt8) \
168 V(TypedDataLibrary, _TypedList, _getUint8) \
169 V(TypedDataLibrary, _TypedList, _setUint8) \
170 V(TypedDataLibrary, _TypedList, _getInt16) \
171 V(TypedDataLibrary, _TypedList, _setInt16) \
172 V(TypedDataLibrary, _TypedList, _getUint16) \
173 V(TypedDataLibrary, _TypedList, _setUint16) \
174 V(TypedDataLibrary, _TypedList, _getInt32) \
175 V(TypedDataLibrary, _TypedList, _setInt32) \
176 V(TypedDataLibrary, _TypedList, _getUint32) \
177 V(TypedDataLibrary, _TypedList, _setUint32) \
178 V(TypedDataLibrary, _TypedList, _getInt64) \
179 V(TypedDataLibrary, _TypedList, _setInt64) \
180 V(TypedDataLibrary, _TypedList, _getUint64) \
181 V(TypedDataLibrary, _TypedList, _setUint64) \
182 V(TypedDataLibrary, _TypedList, _getFloat32) \
183 V(TypedDataLibrary, _TypedList, _setFloat32) \
184 V(TypedDataLibrary, _TypedList, _getFloat64) \
185 V(TypedDataLibrary, _TypedList, _setFloat64) \
186 V(TypedDataLibrary, _TypedList, _getFloat32x4) \
187 V(TypedDataLibrary, _TypedList, _setFloat32x4) \
188
166 189
167 190
168 static void MarkFunctionAsInvisible(const Library& lib, 191 static void MarkFunctionAsInvisible(const Library& lib,
169 const char* class_name, 192 const char* class_name,
170 const char* function_name) { 193 const char* function_name) {
171 ASSERT(!lib.IsNull()); 194 ASSERT(!lib.IsNull());
172 const Class& cls = Class::Handle( 195 const Class& cls = Class::Handle(
173 lib.LookupClassAllowPrivate(String::Handle(String::New(class_name)))); 196 lib.LookupClassAllowPrivate(String::Handle(String::New(class_name))));
174 ASSERT(!cls.IsNull()); 197 ASSERT(!cls.IsNull());
175 const Function& function = 198 const Function& function =
(...skipping 14879 matching lines...) Expand 10 before | Expand all | Expand 10 after
15055 return "_MirrorReference"; 15078 return "_MirrorReference";
15056 } 15079 }
15057 15080
15058 15081
15059 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { 15082 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const {
15060 JSONObject jsobj(stream); 15083 JSONObject jsobj(stream);
15061 } 15084 }
15062 15085
15063 15086
15064 } // namespace dart 15087 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698