diff options
| author | 2016-03-03 18:19:13 +0000 | |
|---|---|---|
| committer | 2016-03-03 18:19:14 +0000 | |
| commit | b204d9444d7c8bc6bc5e60d791060525b91b520c (patch) | |
| tree | 1c1fe01094fddb6dabc683b5c55bad7efa54a334 /compiler/optimizing/optimizing_compiler.cc | |
| parent | 9bab082adb251327b806d537d6710c16b9897de9 (diff) | |
| parent | 700347e9bc6c2ed29046e0c13122a5ad57d2fc51 (diff) | |
Merge "Add a PassScope for PrepareForRegisterAllocation"
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
| -rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 13d6d620f8..c1b4d2403d 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -483,7 +483,11 @@ NO_INLINE  // Avoid increasing caller's frame size by large stack-allocated obje  static void AllocateRegisters(HGraph* graph,                                CodeGenerator* codegen,                                PassObserver* pass_observer) { -  PrepareForRegisterAllocation(graph).Run(); +  { +    PassScope scope(PrepareForRegisterAllocation::kPrepareForRegisterAllocationPassName, +                    pass_observer); +    PrepareForRegisterAllocation(graph).Run(); +  }    SsaLivenessAnalysis liveness(graph, codegen);    {      PassScope scope(SsaLivenessAnalysis::kLivenessPassName, pass_observer); |