diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-23 08:31:28 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-23 08:31:28 +0000 |
commit | d86cd7855b7f6dae1dfb4e2779af888a937f7b76 (patch) | |
tree | 6ba297e49c375deec04e0dbea8e27a3ad72384f5 /llvm/unittests/IR | |
parent | 7493658645950cd93e589a79e1f4bb66494418d0 (diff) | |
download | bcm5719-llvm-d86cd7855b7f6dae1dfb4e2779af888a937f7b76.tar.gz bcm5719-llvm-d86cd7855b7f6dae1dfb4e2779af888a937f7b76.zip |
IRTests/IRBuilderTest.cpp: GetIntTy: Delete DL at yourself since it is not linked.
llvm-svn: 173238
Diffstat (limited to 'llvm/unittests/IR')
-rw-r--r-- | llvm/unittests/IR/IRBuilderTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/IR/IRBuilderTest.cpp b/llvm/unittests/IR/IRBuilderTest.cpp index 8c3471c3de4..fecc4a4fe6b 100644 --- a/llvm/unittests/IR/IRBuilderTest.cpp +++ b/llvm/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) { |