diff options
author | Eric Christopher <echristo@apple.com> | 2010-12-09 00:57:19 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-12-09 00:57:19 +0000 |
commit | 2040961f893815e597e831110e0cef391141473a (patch) | |
tree | e4ffb5c6dcd8cbfff2230315056711e4db43e4d2 /lib | |
parent | 2fe813af23e682b418ecd477144fe070be325419 (diff) | |
download | external_llvm-2040961f893815e597e831110e0cef391141473a.zip external_llvm-2040961f893815e597e831110e0cef391141473a.tar.gz external_llvm-2040961f893815e597e831110e0cef391141473a.tar.bz2 |
Stop confusing people, it's not really a chain, or a tumor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121340 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 68fb525..8998b5b 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -6195,7 +6195,7 @@ X86TargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) const { // Lowering the machine isd will make sure everything is in the right // location. SDValue Args[] = { Offset }; - SDValue Chain = DAG.getNode(X86ISD::TLSCALL, DL, MVT::Other, Args, 1); + SDValue RetVal = DAG.getNode(X86ISD::TLSCALL, DL, MVT::Other, Args, 1); // TLSCALL will be codegen'ed as call. Inform MFI that function has calls. MachineFrameInfo *MFI = DAG.getMachineFunction().getFrameInfo(); @@ -6203,7 +6203,7 @@ X86TargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) const { // And our return value (tls address) is in the standard call return value // location. - return Chain; + return RetVal; } assert(false && |