diff options
| author | 2014-03-03 21:51:53 +0000 | |
|---|---|---|
| committer | 2014-03-03 21:51:53 +0000 | |
| commit | 24f11dca5b69a5b9ca976617e3da1186c959d250 (patch) | |
| tree | 37abdc2525724308303b6fcd78a86779d8032082 /compiler/dex/mir_optimization.cc | |
| parent | 82e3a8ef9cd776d7026b45fe7fb6c72bcfd61394 (diff) | |
| parent | 00e1ec6581b5b7b46ca4c314c2854e9caa647dd2 (diff) | |
Merge "Revert "Revert "Rework Quick compiler's register handling"""
Diffstat (limited to 'compiler/dex/mir_optimization.cc')
| -rw-r--r-- | compiler/dex/mir_optimization.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/dex/mir_optimization.cc b/compiler/dex/mir_optimization.cc index 67d476929e..14d03a518c 100644 --- a/compiler/dex/mir_optimization.cc +++ b/compiler/dex/mir_optimization.cc @@ -207,10 +207,11 @@ size_t MIRGraph::GetNumAvailableNonSpecialCompilerTemps() { } } + +// FIXME - will probably need to revisit all uses of this, as type not defined. static const RegLocation temp_loc = {kLocCompilerTemp, - 0, 1 /*defined*/, 0, 0, 0, 0, 0, 1 /*home*/, - kVectorNotUsed, INVALID_REG, INVALID_REG, INVALID_SREG, - INVALID_SREG}; + 0, 1 /*defined*/, 0, 0, 0, 0, 0, 1 /*home*/, kVectorNotUsed, + RegStorage(), INVALID_SREG, INVALID_SREG}; CompilerTemp* MIRGraph::GetNewCompilerTemp(CompilerTempType ct_type, bool wide) { // There is a limit to the number of non-special temps so check to make sure it wasn't exceeded. |