summaryrefslogtreecommitdiffstats
path: root/compiler/compilers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/compilers.cc')
-rw-r--r--compiler/compilers.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/compilers.cc b/compiler/compilers.cc
index f58b38b..1237e70 100644
--- a/compiler/compilers.cc
+++ b/compiler/compilers.cc
@@ -107,6 +107,9 @@ Backend* QuickCompiler::GetCodeGenerator(CompilationUnit* cu, void* compilation_
case kX86:
mir_to_lir = X86CodeGenerator(cu, cu->mir_graph.get(), &cu->arena);
break;
+ case kX86_64:
+ mir_to_lir = X86CodeGenerator(cu, cu->mir_graph.get(), &cu->arena);
+ break;
default:
LOG(FATAL) << "Unexpected instruction set: " << cu->instruction_set;
}
@@ -125,6 +128,9 @@ std::vector<uint8_t>* QuickCompiler::GetCallFrameInformationInitialization(
if (driver.GetInstructionSet() == kX86) {
return X86CFIInitialization();
}
+ if (driver.GetInstructionSet() == kX86_64) {
+ return X86CFIInitialization();
+ }
return nullptr;
}