summaryrefslogtreecommitdiffstats
path: root/compiler/dex/quick/x86/codegen_x86.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-08-06 10:09:01 -0700
committerAndreas Gampe <agampe@google.com>2014-08-06 13:04:08 -0700
commit48971b3242e5126bcd800cc9c68df64596b43d13 (patch)
tree1c288e0f42c526e04b72157e5df1361394de40c9 /compiler/dex/quick/x86/codegen_x86.h
parent484e2c2d3531e5bb36f0e1e12f26c708939c6579 (diff)
downloadandroid_art-48971b3242e5126bcd800cc9c68df64596b43d13.tar.gz
android_art-48971b3242e5126bcd800cc9c68df64596b43d13.tar.bz2
android_art-48971b3242e5126bcd800cc9c68df64596b43d13.zip
ART: Generate chained compare-and-branch for short switches
Refactor Mir2Lir to generate chained compare-and-branch sequences for short switches on all architectures. Change-Id: Ie2a572ae69d462ba68a119e9fb93ae538cddd08f
Diffstat (limited to 'compiler/dex/quick/x86/codegen_x86.h')
-rw-r--r--compiler/dex/quick/x86/codegen_x86.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/dex/quick/x86/codegen_x86.h b/compiler/dex/quick/x86/codegen_x86.h
index 266191adcb..d74caae0c2 100644
--- a/compiler/dex/quick/x86/codegen_x86.h
+++ b/compiler/dex/quick/x86/codegen_x86.h
@@ -246,8 +246,8 @@ class X86Mir2Lir : public Mir2Lir {
int first_bit, int second_bit) OVERRIDE;
void GenNegDouble(RegLocation rl_dest, RegLocation rl_src) OVERRIDE;
void GenNegFloat(RegLocation rl_dest, RegLocation rl_src) OVERRIDE;
- void GenPackedSwitch(MIR* mir, DexOffset table_offset, RegLocation rl_src) OVERRIDE;
- void GenSparseSwitch(MIR* mir, DexOffset table_offset, RegLocation rl_src) OVERRIDE;
+ void GenLargePackedSwitch(MIR* mir, DexOffset table_offset, RegLocation rl_src) OVERRIDE;
+ void GenLargeSparseSwitch(MIR* mir, DexOffset table_offset, RegLocation rl_src) OVERRIDE;
/**
* @brief Implement instanceof a final class with x86 specific code.