summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMJITInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-11-07 22:57:53 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-11-07 22:57:53 +0000
commitef4d78ba67d4917716a15adfa127a507ffe7b62c (patch)
treed0119d203ea2b51498b9ae1c2b0230ba334a9b5f /llvm/lib/Target/ARM/ARMJITInfo.h
parent160be0ffdab141fd309344edfdc486db77154ef9 (diff)
downloadbcm5719-llvm-ef4d78ba67d4917716a15adfa127a507ffe7b62c.tar.gz
bcm5719-llvm-ef4d78ba67d4917716a15adfa127a507ffe7b62c.zip
More code clean up.
llvm-svn: 58872
Diffstat (limited to 'llvm/lib/Target/ARM/ARMJITInfo.h')
-rw-r--r--llvm/lib/Target/ARM/ARMJITInfo.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM/ARMJITInfo.h b/llvm/lib/Target/ARM/ARMJITInfo.h
index 4b94f3ef795..feb7eea6aab 100644
--- a/llvm/lib/Target/ARM/ARMJITInfo.h
+++ b/llvm/lib/Target/ARM/ARMJITInfo.h
@@ -27,10 +27,6 @@ namespace llvm {
class ARMJITInfo : public TargetJITInfo {
ARMTargetMachine &TM;
- // MCPEs - List of the constant pool entries for the current machine
- // function that's being processed.
- const std::vector<MachineConstantPoolEntry> *MCPEs;
-
// ConstPoolId2AddrMap - A map from constant pool ids to the corresponding
// CONSTPOOL_ENTRY addresses.
SmallVector<intptr_t, 16> ConstPoolId2AddrMap;
@@ -89,8 +85,7 @@ namespace llvm {
/// Initialize - Initialize internal stage. Get the list of constant pool
/// Resize constant pool ids to CONSTPOOL_ENTRY addresses map.
void Initialize(const MachineFunction &MF) {
- MCPEs = &MF.getConstantPool()->getConstants();
- ConstPoolId2AddrMap.resize(MCPEs->size());
+ ConstPoolId2AddrMap.resize(MF.getConstantPool()->getConstants().size());
JumpTableId2AddrMap.resize(MF.getJumpTableInfo()->getJumpTables().size());
}
OpenPOWER on IntegriCloud