tfpt review "/shelveset:Generators1;REDMOND\tomat"
Comment :
Fixes bug in GeneratorRewriter:
- array[index] = { yield return expr1; expr2 } wasn't handled correctly.
Fixes bugs in interpreter:
- Void lambda whose last body expression is non-void didn't pop the last
value from the stack.
- Loops were not balancing stack correctly.
Refactors GeneratorRewriter to avoid code duplication and also reduces the
number of local variables needed for spilling. Constant expressions can be
evaluated out of order and thus don't need to be spilled.Tomas
Generators1.diff
Description: Generators1.diff
_______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
