X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=unittests%2FIR%2FIRBuilderTest.cpp;h=fecc4a4fe6b4121500fc5b361c392e9431e6a010;hb=fc699872e35ec794d7373680be6f1946fe8e9ca6;hp=8c3471c3de4f347873d4a13b4e66deb61e2ea45b;hpb=f25b003523c3c75e2db4b478e040f1c6925667a5;p=oota-llvm.git diff --git a/unittests/IR/IRBuilderTest.cpp b/unittests/IR/IRBuilderTest.cpp index 8c3471c3de4..fecc4a4fe6b 100644 --- a/unittests/IR/IRBuilderTest.cpp +++ b/unittests/IR/IRBuilderTest.cpp @@ -115,6 +115,7 @@ TEST_F(IRBuilderTest, GetIntTy) { IntegerType *IntPtrTy = Builder.getIntPtrTy(DL); unsigned IntPtrBitSize = DL->getPointerSizeInBits(0); EXPECT_EQ(IntPtrTy, IntegerType::get(getGlobalContext(), IntPtrBitSize)); + delete DL; } TEST_F(IRBuilderTest, FastMathFlags) {