diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-20 18:06:37 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-20 18:06:37 -0800 |
commit | ad044fbc84d71c51b58a57bc58ffb9d862a41e14 (patch) | |
tree | d5e180c597eecda9fd69dc47814ccaeb1cf70f45 | |
parent | 47ccd2a512ae4f7d23d7f1998768ceddd0b24bbb (diff) |
dump IR on illegal stuff hit in backend
-rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index c4df606514..70fa619b14 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -741,6 +741,7 @@ std::string JSWriter::generateInstruction(const Instruction *I) { // FIXME: add i64 legalization Type *T = I->getType(); if (T->isIntegerTy() && T->getIntegerBitWidth() > 32) { + dumpIR(I); assert(0 && "FIXME: add i64 legalization"); } |