projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c114b2c
)
Give a good error message when we try to jit inline asm.
author
Chris Lattner
<sabre@nondot.org>
Sat, 26 Aug 2006 00:47:03 +0000
(
00:47
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 26 Aug 2006 00:47:03 +0000
(
00:47
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29891
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86CodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86CodeEmitter.cpp
b/lib/Target/X86/X86CodeEmitter.cpp
index dee58cf434246115d3e3e759bb8999c50c3f47bb..61e3ef6845748eb564c63f45bb9d60b60d700c93 100644
(file)
--- a/
lib/Target/X86/X86CodeEmitter.cpp
+++ b/
lib/Target/X86/X86CodeEmitter.cpp
@@
-385,6
+385,9
@@
void Emitter::emitInstruction(const MachineInstr &MI) {
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: