summaryrefslogtreecommitdiff
path: root/compiler/optimizing/ssa_builder.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-05-18 22:31:29 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2015-05-29 14:15:04 +0100
commitd23eeef3492b53102eb8093524cf37e2b4c296db (patch)
tree57d3e9ab2853d5b8092568bb3d29bc850c113315 /compiler/optimizing/ssa_builder.cc
parenta15c78d3cc28f514a482ffd792a767e97fe53c95 (diff)
Support for inlining methods that call/throw.
Mostly fixes here and there to make it working. Change-Id: I1b535e895105d78b65634636d675b818551f783e
Diffstat (limited to 'compiler/optimizing/ssa_builder.cc')
-rw-r--r--compiler/optimizing/ssa_builder.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/ssa_builder.cc b/compiler/optimizing/ssa_builder.cc
index c51d248765..c4612af393 100644
--- a/compiler/optimizing/ssa_builder.cc
+++ b/compiler/optimizing/ssa_builder.cc
@@ -548,7 +548,8 @@ void SsaBuilder::VisitInstruction(HInstruction* instruction) {
GetGraph()->GetDexFile(),
GetGraph()->GetMethodIdx(),
instruction->GetDexPc(),
- GetGraph()->GetInvokeType());
+ GetGraph()->GetInvokeType(),
+ instruction);
environment->CopyFrom(*current_locals_);
instruction->SetRawEnvironment(environment);
}