Index: src/compiler/ast-loop-assignment-analyzer.cc |
diff --git a/src/compiler/ast-loop-assignment-analyzer.cc b/src/compiler/ast-loop-assignment-analyzer.cc |
index f94d9e07d2740b7827fa848d3bc32c511e58c358..e6764d0eb02f42feda6ed2caff172b46424f830e 100644 |
--- a/src/compiler/ast-loop-assignment-analyzer.cc |
+++ b/src/compiler/ast-loop-assignment-analyzer.cc |
@@ -30,6 +30,8 @@ void ALAA::Enter(IterationStatement* loop) { |
int num_variables = 1 + info()->scope()->num_parameters() + |
info()->scope()->num_stack_slots(); |
BitVector* bits = new (zone()) BitVector(num_variables, zone()); |
+ if (info()->is_osr() && info()->osr_ast_id() == loop->OsrEntryId()) |
Michael Starzinger
2015/02/06 14:59:32
Sigh ... :/
|
+ bits->AddAll(); |
loop_stack_.push_back(bits); |
} |