aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMConstantPoolValue.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-08-11 15:26:27 +0000
committerJim Grosbach <grosbach@apple.com>2009-08-11 15:26:27 +0000
commitf128787f941bb372e80d69b786ed144d8606a292 (patch)
treeeb15f55dccebbfb190132abdcbaf52f23a6fb9af /lib/Target/ARM/ARMConstantPoolValue.h
parent1b2d0b83977a37cb22391dc5a7bf09de76caf0b2 (diff)
downloadexternal_llvm-f128787f941bb372e80d69b786ed144d8606a292.tar.gz
external_llvm-f128787f941bb372e80d69b786ed144d8606a292.tar.bz2
external_llvm-f128787f941bb372e80d69b786ed144d8606a292.zip
Move ~ARMConstantPoolValue() to the .cpp file to avoid needing to include <cstdlib> in the header.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMConstantPoolValue.h')
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMConstantPoolValue.h b/lib/Target/ARM/ARMConstantPoolValue.h
index 504a71e779..bb5232a53b 100644
--- a/lib/Target/ARM/ARMConstantPoolValue.h
+++ b/lib/Target/ARM/ARMConstantPoolValue.h
@@ -16,7 +16,6 @@
#include "llvm/CodeGen/MachineConstantPool.h"
#include <iosfwd>
-#include <stdlib.h>
namespace llvm {
@@ -55,7 +54,7 @@ public:
ARMConstantPoolValue(GlobalValue *GV, ARMCP::ARMCPKind Kind,
const char *Modifier);
ARMConstantPoolValue();
- ~ARMConstantPoolValue() {free((void*)S);}
+ ~ARMConstantPoolValue();
GlobalValue *getGV() const { return GV; }