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

Unified Diff: frog/var_member.dart

Issue 9110027: Some cleanups to Frog to avoid looking up its builtin types too much (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: removed dead files 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
« frog/member.dart ('K') | « frog/value.dart ('k') | frog/world.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/var_member.dart
diff --git a/frog/var_member.dart b/frog/var_member.dart
index 75aa3b22552756878b2af74644e8f4891ee1e444..d64b1f30e9b148af708d606b5cc1596134696969 100644
--- a/frog/var_member.dart
+++ b/frog/var_member.dart
@@ -69,9 +69,8 @@ class VarFunctionStub extends VarMember {
VarFunctionStub(String name, Arguments callArgs)
: super(name), args = callArgs.toCallStubArgs() {
// Ensure dependency is generated
- var funcImpl = world.coreimpl.types['_FunctionImplementation'];
- funcImpl.markUsed();
- world.gen.genMethod(funcImpl.getMember('_genStub'));
+ world.functionImplType.markUsed();
+ world.gen.genMethod(world.functionImplType.getMember('_genStub'));
}
Value invoke(MethodGenerator context, Node node, Value target,
« frog/member.dart ('K') | « frog/value.dart ('k') | frog/world.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698