diff options
author | Devang Patel <dpatel@apple.com> | 2007-02-21 19:57:33 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-02-21 19:57:33 +0000 |
commit | 07d49acbf93709381430560f86e279a0af724462 (patch) | |
tree | 93ddd677f8fe7bfebe9162391f2a9b6b29b48834 /include | |
parent | e0cdd3349df98cb886d9b24351f9116a9a11c5f8 (diff) | |
download | external_llvm-07d49acbf93709381430560f86e279a0af724462.zip external_llvm-07d49acbf93709381430560f86e279a0af724462.tar.gz external_llvm-07d49acbf93709381430560f86e279a0af724462.tar.bz2 |
Simplify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34469 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/ET-Forest.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Analysis/ET-Forest.h b/include/llvm/Analysis/ET-Forest.h index 2c6726f..f41e1f5 100644 --- a/include/llvm/Analysis/ET-Forest.h +++ b/include/llvm/Analysis/ET-Forest.h @@ -141,8 +141,7 @@ public: // removeFromForest() ~ETNode() { delete RightmostOcc; - if (ParentOcc) - delete ParentOcc; + delete ParentOcc; } void removeFromForest() { |