[llvm-commits] CVS: llvm/lib/Target/X86/X86CodeEmitter.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Aug 25 17:47:18 PDT 2006



Changes in directory llvm/lib/Target/X86:

X86CodeEmitter.cpp updated: 1.112 -> 1.113
---
Log message:

Give a good error message when we try to jit inline asm.


---
Diffs of the changes:  (+3 -0)

 X86CodeEmitter.cpp |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/lib/Target/X86/X86CodeEmitter.cpp
diff -u llvm/lib/Target/X86/X86CodeEmitter.cpp:1.112 llvm/lib/Target/X86/X86CodeEmitter.cpp:1.113
--- llvm/lib/Target/X86/X86CodeEmitter.cpp:1.112	Thu Jul 27 13:21:10 2006
+++ llvm/lib/Target/X86/X86CodeEmitter.cpp	Fri Aug 25 19:47:03 2006
@@ -385,6 +385,9 @@
     switch (Opcode) {
     default: 
       assert(0 && "psuedo instructions should be removed before code emission");
+    case TargetInstrInfo::INLINEASM:
+      std::cerr << "JIT does not support inline asm!\n";
+      abort();
     case X86::IMPLICIT_USE:
     case X86::IMPLICIT_DEF:
     case X86::IMPLICIT_DEF_GR8:






More information about the llvm-commits mailing list