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

Unified Diff: runtime/lib/object_patch.dart

Issue 11339042: Revert "Change signature of noSuchMethod to take an InvocationMirror." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/code_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/object_patch.dart
diff --git a/runtime/lib/object_patch.dart b/runtime/lib/object_patch.dart
index 401d94fe9dcfde99e7a57918e09a76723c51b1e2..603e14e26c0213877cf1c1b3da3d47a7cd907f52 100644
--- a/runtime/lib/object_patch.dart
+++ b/runtime/lib/object_patch.dart
@@ -23,14 +23,8 @@ patch class Object {
// A statically dispatched version of Object.toString.
static String _toString(obj) native "Object_toString";
- dynamic _noSuchMethod(String functionName, List args)
+ /* patch */ Dynamic noSuchMethod(String functionName, List args)
native "Object_noSuchMethod";
- /* patch */ dynamic noSuchMethod(InvocationMirror invocation) {
- var methodName = invocation.memberName;
- var args = invocation.positionalArguments;
- return _noSuchMethod(methodName, args);
- }
-
/* patch */ Type get runtimeType native "Object_runtimeType";
}
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/code_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698