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

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

Issue 590513003: Add _Bigint._mulAdd to the invisible list. Strengthen the mirror invocation fuzzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | tests/lib/lib.status » ('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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 158
159 // The following functions are marked as invisible, meaning they will be hidden 159 // The following functions are marked as invisible, meaning they will be hidden
160 // in the stack trace and will be hidden from reflective access. 160 // in the stack trace and will be hidden from reflective access.
161 // (Library, class name, method name) 161 // (Library, class name, method name)
162 // Additionally, private functions in dart:* that are native or constructors are 162 // Additionally, private functions in dart:* that are native or constructors are
163 // marked as invisible by the parser. 163 // marked as invisible by the parser.
164 #define INVISIBLE_LIST(V) \ 164 #define INVISIBLE_LIST(V) \
165 V(CoreLibrary, int, _throwFormatException) \ 165 V(CoreLibrary, int, _throwFormatException) \
166 V(CoreLibrary, int, _parse) \ 166 V(CoreLibrary, int, _parse) \
167 V(CoreLibrary, _Bigint, _mulAdd) \
167 168
168 static void MarkFunctionAsInvisible(const Library& lib, 169 static void MarkFunctionAsInvisible(const Library& lib,
169 const char* class_name, 170 const char* class_name,
170 const char* function_name) { 171 const char* function_name) {
171 ASSERT(!lib.IsNull()); 172 ASSERT(!lib.IsNull());
172 const Class& cls = Class::Handle( 173 const Class& cls = Class::Handle(
173 lib.LookupClassAllowPrivate(String::Handle(String::New(class_name)))); 174 lib.LookupClassAllowPrivate(String::Handle(String::New(class_name))));
174 ASSERT(!cls.IsNull()); 175 ASSERT(!cls.IsNull());
175 const Function& function = 176 const Function& function =
176 Function::Handle( 177 Function::Handle(
(...skipping 20184 matching lines...) Expand 10 before | Expand all | Expand 10 after
20361 return tag_label.ToCString(); 20362 return tag_label.ToCString();
20362 } 20363 }
20363 20364
20364 20365
20365 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 20366 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
20366 Instance::PrintJSONImpl(stream, ref); 20367 Instance::PrintJSONImpl(stream, ref);
20367 } 20368 }
20368 20369
20369 20370
20370 } // namespace dart 20371 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698