diff options
| author | 2016-03-02 14:59:32 -0800 | |
|---|---|---|
| committer | 2016-03-02 14:59:32 -0800 | |
| commit | 700347e9bc6c2ed29046e0c13122a5ad57d2fc51 (patch) | |
| tree | e27ba6800f58515a3b19b12b32a6ee414faa35bf /compiler/optimizing/optimizing_compiler.cc | |
| parent | a71ec6419d9e80b354de721003c8b7929d224a49 (diff) | |
Add a PassScope for PrepareForRegisterAllocation
This pass does transform the graph so make it part of cfg-dumping.
Change-Id: I42e361382c85c97b974faad8bb0fcf2cb0750355
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); |