X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FJumpInstrTables.cpp;h=750f71f6022e4b2ad2fdf93f0b5abee9b6f72e50;hb=fe0bf8fbf9d401a67a1842da6cefbb58aa8975a3;hp=05a1b27c8fed004ba144d8912194c7727a0832b9;hpb=5d0f7af3dc42d7bc843858317fba3bb91c44d68f;p=oota-llvm.git diff --git a/lib/CodeGen/JumpInstrTables.cpp b/lib/CodeGen/JumpInstrTables.cpp index 05a1b27c8fe..750f71f6022 100644 --- a/lib/CodeGen/JumpInstrTables.cpp +++ b/lib/CodeGen/JumpInstrTables.cpp @@ -251,10 +251,6 @@ FunctionType *JumpInstrTables::transformType(FunctionType *FunTy) { } bool JumpInstrTables::runOnModule(Module &M) { - // Make sure the module is well-formed, especially with respect to jumptable. - if (verifyModule(M)) - return false; - JITI = &getAnalysis(); // Get the set of jumptable-annotated functions. @@ -263,7 +259,7 @@ bool JumpInstrTables::runOnModule(Module &M) { if (F.hasFnAttribute(Attribute::JumpTable)) { assert(F.hasUnnamedAddr() && "Attribute 'jumptable' requires 'unnamed_addr'"); - Functions[&F] = NULL; + Functions[&F] = nullptr; } }