summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AddressPool.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-12-24 07:56:40 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-12-24 07:56:40 +0000
commit5353e64935b5e2782a2e6228d996dbae25e20b40 (patch)
tree0b356716ded189620e6cb9f4e64e2adca10e55f4 /llvm/lib/CodeGen/AsmPrinter/AddressPool.h
parentedabb9ae563aee669b843d267ad0e0016ce6514d (diff)
downloadbcm5719-llvm-5353e64935b5e2782a2e6228d996dbae25e20b40.tar.gz
bcm5719-llvm-5353e64935b5e2782a2e6228d996dbae25e20b40.zip
Fix build - follow-up to r350048 which broke headerless (v4) address pool
llvm-svn: 350050
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AddressPool.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AddressPool.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AddressPool.h b/llvm/lib/CodeGen/AsmPrinter/AddressPool.h
index e1bf3e9ae58..44a53b02f48 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AddressPool.h
+++ b/llvm/lib/CodeGen/AsmPrinter/AddressPool.h
@@ -30,8 +30,6 @@ class AddressPool {
};
DenseMap<const MCSymbol *, AddressPoolEntry> Pool;
- MCSymbol *EndLabel;
-
/// Record whether the AddressPool has been queried for an address index since
/// the last "resetUsedFlag" call. Used to implement type unit fallback - a
/// type that references addresses cannot be placed in a type unit when using
@@ -57,7 +55,7 @@ public:
void setLabel(MCSymbol *Sym) { AddressTableBaseSym = Sym; }
private:
- void emitHeader(AsmPrinter &Asm, MCSection *Section);
+ MCSymbol *emitHeader(AsmPrinter &Asm, MCSection *Section);
/// Symbol designates the start of the contribution to the address table.
MCSymbol *AddressTableBaseSym = nullptr;
OpenPOWER on IntegriCloud