diff options
| author | 2014-11-12 10:24:10 +0000 | |
|---|---|---|
| committer | 2014-11-12 10:24:10 +0000 | |
| commit | 93ca91d05bb5a08bb883f72bf8551275ace3181f (patch) | |
| tree | 7b1f2cd2aaef7da78628885d106e344915d73ae2 /compiler/optimizing/ssa_builder.cc | |
| parent | f2d99e1bd4fe21b39a8ee6ac3cdc5e23db82d023 (diff) | |
| parent | 421e9f9088b51e9680a3dfcae6965fc1854d3ee4 (diff) | |
Merge "Remove HTemporary when building the SSA graph."
Diffstat (limited to 'compiler/optimizing/ssa_builder.cc')
| -rw-r--r-- | compiler/optimizing/ssa_builder.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/ssa_builder.cc b/compiler/optimizing/ssa_builder.cc index e83c528fab..fec40f93c7 100644 --- a/compiler/optimizing/ssa_builder.cc +++ b/compiler/optimizing/ssa_builder.cc @@ -253,4 +253,9 @@ void SsaBuilder::VisitInstruction(HInstruction* instruction) { instruction->SetEnvironment(environment); } +void SsaBuilder::VisitTemporary(HTemporary* temp) { + // Temporaries are only used by the baseline register allocator. + temp->GetBlock()->RemoveInstruction(temp); +} + } // namespace art |