From 55197db1f3dbc6912667339e204b67e346e3b03a Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 29 Jan 2014 16:15:50 -0800 Subject: clean up some fixmes --- lib/Target/JSBackend/JSBackend.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/Target/JSBackend/JSBackend.cpp') 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; } -- cgit v1.2.3-18-g5258