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

Unified Diff: frog/leg/universe.dart

Issue 9193016: Add the arity to calls, and support noSuchMethodException. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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 | « frog/leg/ssa/codegen.dart ('k') | frog/tests/leg/src/ArrayStaticInterceptTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/universe.dart
===================================================================
--- frog/leg/universe.dart (revision 3539)
+++ frog/leg/universe.dart (working copy)
@@ -11,15 +11,15 @@
final Set<ClassElement> instantiatedClasses;
// TODO(floitsch): we want more information than just the method name. For
// example the number of arguments, etc.
- final Set<String> invokedNames;
- final Set<String> invokedGetters;
- final Set<String> invokedSetters;
+ final Map<SourceString, Set<int>> invokedNames;
+ final Set<SourceString> invokedGetters;
+ final Set<SourceString> invokedSetters;
Universe() : elements = {}, generatedCode = {}, generatedBailoutCode = {},
instantiatedClasses = new Set<ClassElement>(),
- invokedNames = new Set<String>(),
- invokedGetters = new Set<String>(),
- invokedSetters = new Set<String>(),
+ invokedNames = new Map<SourceString, Set<int>>(),
+ invokedGetters = new Set<SourceString>(),
+ invokedSetters = new Set<SourceString>(),
scope = new Element(const SourceString('global scope'),
null, null);
« no previous file with comments | « frog/leg/ssa/codegen.dart ('k') | frog/tests/leg/src/ArrayStaticInterceptTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698