summaryrefslogtreecommitdiffstats
path: root/compiler/dex/quick/mips/call_mips.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-08-06 20:05:02 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-08-06 02:12:31 +0000
commit1b192268f167f603fc372f02f9067f3ce5d82daf (patch)
treef9be17e2b42f5949e8d4f2aa19aab5f8c6d5fa60 /compiler/dex/quick/mips/call_mips.cc
parente71d59715a2f0adb0aa539639b83b8d410fc679f (diff)
parent48971b3242e5126bcd800cc9c68df64596b43d13 (diff)
downloadandroid_art-1b192268f167f603fc372f02f9067f3ce5d82daf.tar.gz
android_art-1b192268f167f603fc372f02f9067f3ce5d82daf.tar.bz2
android_art-1b192268f167f603fc372f02f9067f3ce5d82daf.zip
Merge "ART: Generate chained compare-and-branch for short switches"
Diffstat (limited to 'compiler/dex/quick/mips/call_mips.cc')
-rw-r--r--compiler/dex/quick/mips/call_mips.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/dex/quick/mips/call_mips.cc b/compiler/dex/quick/mips/call_mips.cc
index 9adddf079d..4577a4c904 100644
--- a/compiler/dex/quick/mips/call_mips.cc
+++ b/compiler/dex/quick/mips/call_mips.cc
@@ -61,8 +61,7 @@ bool MipsMir2Lir::GenSpecialCase(BasicBlock* bb, MIR* mir,
* done:
*
*/
-void MipsMir2Lir::GenSparseSwitch(MIR* mir, DexOffset table_offset,
- RegLocation rl_src) {
+void MipsMir2Lir::GenLargeSparseSwitch(MIR* mir, DexOffset table_offset, RegLocation rl_src) {
const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset;
if (cu_->verbose) {
DumpSparseSwitchTable(table);
@@ -139,8 +138,7 @@ void MipsMir2Lir::GenSparseSwitch(MIR* mir, DexOffset table_offset,
* jr rRA
* done:
*/
-void MipsMir2Lir::GenPackedSwitch(MIR* mir, DexOffset table_offset,
- RegLocation rl_src) {
+void MipsMir2Lir::GenLargePackedSwitch(MIR* mir, DexOffset table_offset, RegLocation rl_src) {
const uint16_t* table = cu_->insns + current_dalvik_offset_ + table_offset;
if (cu_->verbose) {
DumpPackedSwitchTable(table);