summaryrefslogtreecommitdiff
path: root/compiler/dex/mir_optimization.cc
diff options
context:
space:
mode:
author Bill Buzbee <buzbee@android.com> 2014-03-03 21:51:53 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-03-03 21:51:53 +0000
commit24f11dca5b69a5b9ca976617e3da1186c959d250 (patch)
tree37abdc2525724308303b6fcd78a86779d8032082 /compiler/dex/mir_optimization.cc
parent82e3a8ef9cd776d7026b45fe7fb6c72bcfd61394 (diff)
parent00e1ec6581b5b7b46ca4c314c2854e9caa647dd2 (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.cc7
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.