aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-26 05:56:49 +0000
committerChris Lattner <sabre@nondot.org>2009-06-26 05:56:49 +0000
commit998c2051a4b0dcab96d0803c44801f1c90531a43 (patch)
treeebce5b9333656c02017d5c6fc2f41c399c053afa /lib
parent0075855025ee9bd75b7901163fddcfc54af31846 (diff)
downloadexternal_llvm-998c2051a4b0dcab96d0803c44801f1c90531a43.zip
external_llvm-998c2051a4b0dcab96d0803c44801f1c90531a43.tar.gz
external_llvm-998c2051a4b0dcab96d0803c44801f1c90531a43.tar.bz2
fix a pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74275 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86ISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp
index 34af9a6..0203353 100644
--- a/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -732,7 +732,7 @@ bool X86DAGToDAGISel::MatchWrapper(SDValue N, X86ISelAddressMode &AM) {
AM.Align = CP->getAlignment();
AM.Disp += Offset;
AM.isRIPRel = SymbolicAddressesAreRIPRel;
- AM.SymbolFlags = G->getTargetFlags();
+ AM.SymbolFlags = CP->getTargetFlags();
return false;
}
} else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(N0)) {