f75ef2e6ab
Calling closures via .call does now work in the VM - it was working in dart2js already. Calling .call on a closure is implemented to go through a dispatcher method. These dispatcher methods are automatically created and cached in the same way as NoSuchMethod- or field-invocation dispatchers. This CL does not change the way regular closure invocation works in the VM. It is therefore performance-neutral for normal closure calls. BUG=dartbug.com/12602 TEST=language/call_test R=iposva@google.com Review URL: https://codereview.chromium.org//188703004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33576 260f80e4-7a28-3924-810f-c04153c831b5