From e0098928c9dfd8ae359efdb2de1fa5c658f7ad87 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 16 May 2014 22:37:03 +0000 Subject: Delete getAliasedGlobal. llvm-svn: 209040 --- llvm/lib/Target/ARM64/ARM64FastISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/ARM64') diff --git a/llvm/lib/Target/ARM64/ARM64FastISel.cpp b/llvm/lib/Target/ARM64/ARM64FastISel.cpp index f8b54d033f7..f4bf616559a 100644 --- a/llvm/lib/Target/ARM64/ARM64FastISel.cpp +++ b/llvm/lib/Target/ARM64/ARM64FastISel.cpp @@ -245,7 +245,7 @@ unsigned ARM64FastISel::ARM64MaterializeGV(const GlobalValue *GV) { // to peer through any aliases to find out if that rule applies. const GlobalValue *TLSGV = GV; if (const GlobalAlias *GA = dyn_cast(GV)) - TLSGV = GA->getAliasedGlobal(); + TLSGV = GA->getAliasee(); if (const GlobalVariable *GVar = dyn_cast(TLSGV)) if (GVar->isThreadLocal()) -- cgit v1.2.3