aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/JSBackend/JSBackend.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-29 16:15:50 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-29 16:15:50 -0800
commit55197db1f3dbc6912667339e204b67e346e3b03a (patch)
treef8c2b5b5a35a6b7d7c5d7c4ee9060cf304dd49d5 /lib/Target/JSBackend/JSBackend.cpp
parent7ee97e87772545a66a574239ae8420cd60fe6ac9 (diff)
clean up some fixmes
Diffstat (limited to 'lib/Target/JSBackend/JSBackend.cpp')
-rw-r--r--lib/Target/JSBackend/JSBackend.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Target/JSBackend/JSBackend.cpp b/lib/Target/JSBackend/JSBackend.cpp
index 7304fd3fac..ffa4591337 100644
--- a/lib/Target/JSBackend/JSBackend.cpp
+++ b/lib/Target/JSBackend/JSBackend.cpp
@@ -979,8 +979,8 @@ void JSWriter::generateInstruction(const Instruction *I, raw_string_ostream& Cod
Type *T = I->getType();
if (T->isIntegerTy() && T->getIntegerBitWidth() > 32) {
- dumpIR(I);
- assert(0 && "FIXME: finish legalization"); // FIXME
+ errs() << *I << "\n";
+ report_fatal_error("legalization problem");
}
if (!generateSIMDInstruction(iName, I, Code)) switch (I->getOpcode()) {
@@ -1184,7 +1184,8 @@ void JSWriter::generateInstruction(const Instruction *I, raw_string_ostream& Cod
Type *T = V->getType();
if (T->isIntegerTy() && T->getIntegerBitWidth() > 32) {
- assert(0 && "FIXME: finish legalization"); // FIXME
+ errs() << *I << "\n";
+ report_fatal_error("legalization problem");
}
break;
}