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

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

Issue 23486007: Change the field and constructor parameter types of NoSuchMethodError to Symbol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 7 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
« no previous file with comments | « runtime/lib/errors_patch.dart ('k') | sdk/lib/_internal/lib/core_patch.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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // (Library, class name, method name) 150 // (Library, class name, method name)
151 #define INVISIBLE_LIST(V) \ 151 #define INVISIBLE_LIST(V) \
152 V(CoreLibrary, Object, _noSuchMethod) \ 152 V(CoreLibrary, Object, _noSuchMethod) \
153 V(CoreLibrary, Object, _as) \ 153 V(CoreLibrary, Object, _as) \
154 V(CoreLibrary, Object, _instanceOf) \ 154 V(CoreLibrary, Object, _instanceOf) \
155 V(CoreLibrary, _ObjectArray, _ObjectArray.) \ 155 V(CoreLibrary, _ObjectArray, _ObjectArray.) \
156 V(CoreLibrary, AssertionError, _throwNew) \ 156 V(CoreLibrary, AssertionError, _throwNew) \
157 V(CoreLibrary, TypeError, _throwNew) \ 157 V(CoreLibrary, TypeError, _throwNew) \
158 V(CoreLibrary, FallThroughError, _throwNew) \ 158 V(CoreLibrary, FallThroughError, _throwNew) \
159 V(CoreLibrary, AbstractClassInstantiationError, _throwNew) \ 159 V(CoreLibrary, AbstractClassInstantiationError, _throwNew) \
160 V(CoreLibrary, NoSuchMethodError, _throwNew) \
161 V(CoreLibrary, int, _throwFormatException) \ 160 V(CoreLibrary, int, _throwFormatException) \
162 V(CoreLibrary, int, _parse) \ 161 V(CoreLibrary, int, _parse) \
163 V(CoreLibrary, StackTrace, _setupFullStackTrace) \ 162 V(CoreLibrary, StackTrace, _setupFullStackTrace) \
164 163
165 164
166 static void MarkFunctionAsInvisible(const Library& lib, 165 static void MarkFunctionAsInvisible(const Library& lib,
167 const char* class_name, 166 const char* class_name,
168 const char* function_name) { 167 const char* function_name) {
169 ASSERT(!lib.IsNull()); 168 ASSERT(!lib.IsNull());
170 const Class& cls = Class::Handle( 169 const Class& cls = Class::Handle(
(...skipping 14729 matching lines...) Expand 10 before | Expand all | Expand 10 after
14900 } 14899 }
14901 14900
14902 14901
14903 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { 14902 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const {
14904 stream->OpenObject(); 14903 stream->OpenObject();
14905 stream->CloseObject(); 14904 stream->CloseObject();
14906 } 14905 }
14907 14906
14908 14907
14909 } // namespace dart 14908 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/lib/errors_patch.dart ('k') | sdk/lib/_internal/lib/core_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698