tfpt review “/shelveset:CC2;REDMOND\tomat”
Replaces most uses of Ast.CodeContext() calls by references to the
current RubyScope variable.
Removes uses of LambdaBuilder and scope factories.
Introduces LocalsBuilder - a simple List wrapper.
Moves a scope variable stored on FrameScope up to the VariableScope
(renamed from SelfScope). The VariableScope represents a scope of local
variables - it could either be a method scope, block scope, or module
scope.
Merges RubyOps.CreateScope and RubyOps.InitializeScope. This is now
possible due to Ast.AllLocalVariables node. Factories are now explicitly
called by IronRuby and not passed to DLR scopes.
Also fixes bug in module scopes - local variables were not allocated on
a correct scope.
Tomas