projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f25b003
)
IRTests/IRBuilderTest.cpp: GetIntTy: Delete DL at yourself since it is not linked.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 23 Jan 2013 08:31:28 +0000
(08:31 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 23 Jan 2013 08:31:28 +0000
(08:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173238
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/IR/IRBuilderTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/IR/IRBuilderTest.cpp
b/unittests/IR/IRBuilderTest.cpp
index 8c3471c3de4f347873d4a13b4e66deb61e2ea45b..fecc4a4fe6b4121500fc5b361c392e9431e6a010 100644
(file)
--- 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) {