summaryrefslogtreecommitdiff
path: root/compiler/dex/quick/codegen_util.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-04-09 18:40:37 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-04-09 18:40:38 +0000
commit3b7b6cc6f26f1fffbad47a7279525198f4e22652 (patch)
tree810a65e131f5772d4dd17ef4a1fa89d3104cc910 /compiler/dex/quick/codegen_util.cc
parent917f0866f66d3465fa41ddcf9ab09eba2fa78dd3 (diff)
parent1961b609bfefaedb71cee3651c4f931cc3e7393d (diff)
Merge "Quick: PC-relative loads from dex cache arrays on x86."
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
-rw-r--r--compiler/dex/quick/codegen_util.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc
index 9c9205fbb9..5ea36c2769 100644
--- a/compiler/dex/quick/codegen_util.cc
+++ b/compiler/dex/quick/codegen_util.cc
@@ -541,13 +541,11 @@ void Mir2Lir::InstallSwitchTables() {
DCHECK(tab_rec->anchor->flags.fixup != kFixupNone);
bx_offset = tab_rec->anchor->offset + 4;
break;
- case kX86:
- bx_offset = 0;
- break;
case kX86_64:
// RIP relative to switch table.
bx_offset = tab_rec->offset;
break;
+ case kX86:
case kArm64:
case kMips:
case kMips64: