diff options
author | 2011-05-16 14:28:01 -0700 | |
---|---|---|
committer | 2011-05-16 14:28:01 -0700 | |
commit | 86f25cd3795a6653334cd58ccf9eab1eb41c263f (patch) | |
tree | 6a180d3e9068ff6b628f0ae6ad59c2404b1fb85d | |
parent | 9026ac103f2e5ca9be7617de99c7d4a1fc1d9e0e (diff) |
merge
-rw-r--r-- | BCT/BytecodeTranslator/ExpressionTraverser.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BCT/BytecodeTranslator/ExpressionTraverser.cs b/BCT/BytecodeTranslator/ExpressionTraverser.cs index 77050c46..d9ba488e 100644 --- a/BCT/BytecodeTranslator/ExpressionTraverser.cs +++ b/BCT/BytecodeTranslator/ExpressionTraverser.cs @@ -755,7 +755,7 @@ namespace BytecodeTranslator // Simplify the LHS so that all nested dereferences and method calls are broken
// up into separate assignments to locals.
- var blockExpression = AssignmentSimplifier.Simplify(this.sink, assignment.Target);
+ var blockExpression = ExpressionSimplifier.Simplify(this.sink, assignment.Target) as IBlockExpression;
foreach (var s in blockExpression.BlockStatement.Statements) {
this.StmtTraverser.Visit(s);
}
|