fixes to make this branch compatible with llvm versions before 3.4

This commit is contained in:
anthony cantor 2013-09-06 00:08:26 -06:00 • committed by Siu Kwan Lam
commit b303fd532a
5 changed files with 48 additions and 42 deletions

View file

@ -652,6 +652,9 @@ def do_llvm_target():
tm.is_little_endian()
def do_llvm_mc():
if llvm.version < (3, 4):
return
from llvm import target
from llvm import mc