Skip to content

Commit

Permalink
Saner approach to lvalues and callable values in trans
Browse files Browse the repository at this point in the history
LValues no longer carry information about generics and objs, instead
there's an extended form of lvalue, lval_maybe_callee, only used by
call and bind, which holds this info.

This makes it possible to take the value of a method and get a working
closure, and will (with some more work) allow us to call statically
known functions without loading from their pair.

Closes #435
Closes #758
  • Loading branch information
marijnh committed Sep 16, 2011
1 parent 639d88a commit 6615343
Show file tree
Hide file tree
Showing 3 changed files with 220 additions and 197 deletions.
Loading

0 comments on commit 6615343

Please sign in to comment.