From 804d09372cc3d80d537da1489da4a45e0e19aa5d Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Fri, 2 May 2014 08:46:00 +0100 Subject: Build live-in, live-out and kill sets for each block. This information will be used when computing live ranges of instructions. Change-Id: I345ee833c1ccb4a8e725c7976453f6d58d350d74 --- compiler/optimizing/ssa_builder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/optimizing/ssa_builder.h') diff --git a/compiler/optimizing/ssa_builder.h b/compiler/optimizing/ssa_builder.h index b6c6c0b658..9d8c0729ae 100644 --- a/compiler/optimizing/ssa_builder.h +++ b/compiler/optimizing/ssa_builder.h @@ -29,8 +29,8 @@ class SsaBuilder : public HGraphVisitor { : HGraphVisitor(graph), current_locals_(nullptr), loop_headers_(graph->GetArena(), kDefaultNumberOfLoops), - locals_for_(graph->GetArena(), graph->GetBlocks()->Size()) { - locals_for_.SetSize(graph->GetBlocks()->Size()); + locals_for_(graph->GetArena(), graph->GetBlocks().Size()) { + locals_for_.SetSize(graph->GetBlocks().Size()); } void BuildSsa(); -- cgit v1.2.3-59-g8ed1b