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

Unified Diff: runtime/lib/invocation_mirror_patch.dart

Issue 114713002: VM: Support calling through getters in InstanceMirror.delegate. Implement without accessing private… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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
Index: runtime/lib/invocation_mirror_patch.dart
diff --git a/runtime/lib/invocation_mirror_patch.dart b/runtime/lib/invocation_mirror_patch.dart
index 4c2e7e501cec5c668556b8c0ededef4819363380..3f76e4e7b2a53abd0e2b3f2dddd1b199ef1e77b4 100644
--- a/runtime/lib/invocation_mirror_patch.dart
+++ b/runtime/lib/invocation_mirror_patch.dart
@@ -133,18 +133,4 @@ class _InvocationMirror implements Invocation {
arguments,
isSuperInvocation);
}
-
- static _invoke(Object receiver,
- String functionName,
- List argumentsDescriptor,
- List arguments)
- native "InvocationMirror_invoke";
-
- _invokeOn(Object receiver) {
- return _invoke(receiver, _functionName, _argumentsDescriptor, _arguments);
- }
-
- // TODO(ahe): This is a hack. See _LocalInstanceMirrorImpl.delegate
- // in mirrors_impl.dart
- static final _invokeOnClosure = (x, y) => y._invokeOn(x);
}

Powered by Google App Engine
This is Rietveld 408576698