From 6a58cb16d803c9a7b3a75ccac8be19dd9d4e520d Mon Sep 17 00:00:00 2001 From: Dmitry Petrochenko Date: Wed, 2 Apr 2014 17:27:59 +0700 Subject: art: Handle x86_64 architecture equal to x86 This patch forces FE/ME to treat x86_64 as x86 exactly. The x86_64 logic will be revised later when assembly will be ready. Change-Id: I4a92477a6eeaa9a11fd710d35c602d8d6f88cbb6 Signed-off-by: Dmitry Petrochenko --- compiler/dex/quick/codegen_util.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/dex/quick/codegen_util.cc') diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index 4c6c7a45b4..6e6b8f0a30 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -480,6 +480,7 @@ void Mir2Lir::InstallSwitchTables() { bx_offset = tab_rec->anchor->offset + 4; break; case kX86: + case kX86_64: bx_offset = 0; break; case kMips: -- cgit v1.2.3-59-g8ed1b