diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-29 16:15:50 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-29 16:15:50 -0800 |
commit | 55197db1f3dbc6912667339e204b67e346e3b03a (patch) | |
tree | f8c2b5b5a35a6b7d7c5d7c4ee9060cf304dd49d5 /lib/Target/JSBackend/JSBackend.cpp | |
parent | 7ee97e87772545a66a574239ae8420cd60fe6ac9 (diff) |
clean up some fixmes
Diffstat (limited to 'lib/Target/JSBackend/JSBackend.cpp')
-rw-r--r-- | lib/Target/JSBackend/JSBackend.cpp | 7 |
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; } |