summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-06-09 18:40:10 +0100
committerNicolas Geoffray <ngeoffray@google.com>2014-06-13 09:49:30 +0100
commit9cf35523764d829ae0470dae2d5dd99be469c841 (patch)
tree889459a8ecf8fdf801ea46dd58d15268dfb25af8 /compiler/optimizing/code_generator.cc
parentb08f63c21de64f8b74003e3638e100471bd099f3 (diff)
downloadandroid_art-9cf35523764d829ae0470dae2d5dd99be469c841.tar.gz
android_art-9cf35523764d829ae0470dae2d5dd99be469c841.tar.bz2
android_art-9cf35523764d829ae0470dae2d5dd99be469c841.zip
Add x86_64 support to the optimizing compiler.
Change-Id: I4462d9ae15be56c4a3dc1bd4d1c0c6548c1b94be
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r--compiler/optimizing/code_generator.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc
index f05cb66aba..b8332ad2a3 100644
--- a/compiler/optimizing/code_generator.cc
+++ b/compiler/optimizing/code_generator.cc
@@ -18,6 +18,7 @@
#include "code_generator_arm.h"
#include "code_generator_x86.h"
+#include "code_generator_x86_64.h"
#include "dex/verified_method.h"
#include "driver/dex_compilation_unit.h"
#include "gc_map_builder.h"
@@ -221,7 +222,7 @@ CodeGenerator* CodeGenerator::Create(ArenaAllocator* allocator,
return new (allocator) x86::CodeGeneratorX86(graph);
}
case kX86_64: {
- return new (allocator) x86::CodeGeneratorX86(graph);
+ return new (allocator) x86_64::CodeGeneratorX86_64(graph);
}
default:
return nullptr;