summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/ssa_builder.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2015-05-07 11:57:35 +0100
committerNicolas Geoffray <ngeoffray@google.com>2015-05-11 14:17:22 +0100
commit0a23d74dc2751440822960eab218be4cb8843647 (patch)
tree39d69de5d812826c4065d0acd38a58cd983f21f0 /compiler/optimizing/ssa_builder.cc
parentcdeb0b5fede4c06488f43a212591e661d946bc78 (diff)
downloadart-0a23d74dc2751440822960eab218be4cb8843647.zip
art-0a23d74dc2751440822960eab218be4cb8843647.tar.gz
art-0a23d74dc2751440822960eab218be4cb8843647.tar.bz2
Add a parent environment to HEnvironment.
This code has no functionality change. It adds a placeholder for chaining inlined frames. Change-Id: I5ec57335af76ee406052345b947aad98a6a4423a
Diffstat (limited to 'compiler/optimizing/ssa_builder.cc')
-rw-r--r--compiler/optimizing/ssa_builder.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/optimizing/ssa_builder.cc b/compiler/optimizing/ssa_builder.cc
index 2a713cc..59a2852 100644
--- a/compiler/optimizing/ssa_builder.cc
+++ b/compiler/optimizing/ssa_builder.cc
@@ -543,7 +543,11 @@ void SsaBuilder::VisitInstruction(HInstruction* instruction) {
return;
}
HEnvironment* environment = new (GetGraph()->GetArena()) HEnvironment(
- GetGraph()->GetArena(), current_locals_->Size());
+ GetGraph()->GetArena(),
+ current_locals_->Size(),
+ GetGraph()->GetDexFile(),
+ GetGraph()->GetMethodIdx(),
+ instruction->GetDexPc());
environment->CopyFrom(*current_locals_);
instruction->SetRawEnvironment(environment);
}