summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/ARM/ARMJITInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMJITInfo.h b/lib/Target/ARM/ARMJITInfo.h
index 5f0ee8d9f2..cdcd1ad1d6 100644
--- a/lib/Target/ARM/ARMJITInfo.h
+++ b/lib/Target/ARM/ARMJITInfo.h
@@ -56,6 +56,8 @@ namespace llvm {
/// pool address resolution is handled by the target.
virtual bool hasCustomConstantPool() const { return true; }
+ /// ResizeConstPoolMap - Resize constant pool ids to CONSTPOOL_ENTRY
+ /// addresses map.
void ResizeConstPoolMap(unsigned Size) {
ConstPoolId2AddrMap.resize(Size);
}