summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-01 22:06:46 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-01 22:06:46 +0000
commit31e2c7b4c13c2f31774614b1124533628958d0cd (patch)
tree16d1c03e82f30e19c5c071310755e25f1de89e02 /lib/CodeGen/SelectionDAG
parent8bff7c960c0e52258158edcbb96cfe528f335f34 (diff)
downloadllvm-31e2c7b4c13c2f31774614b1124533628958d0cd.tar.gz
llvm-31e2c7b4c13c2f31774614b1124533628958d0cd.tar.bz2
llvm-31e2c7b4c13c2f31774614b1124533628958d0cd.tar.xz
Remove Offset from ExternalSybmol MachineOperands, this is unused (and at least partly unsupported, in X86 encoding at least).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGSDNodesEmit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodesEmit.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodesEmit.cpp
index 17684f528a..ec82b351d8 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodesEmit.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodesEmit.cpp
@@ -319,7 +319,7 @@ void ScheduleDAGSDNodes::AddOperand(MachineInstr *MI, SDValue Op,
MI->addOperand(MachineOperand::CreateCPI(Idx, Offset,
CP->getTargetFlags()));
} else if (ExternalSymbolSDNode *ES = dyn_cast<ExternalSymbolSDNode>(Op)) {
- MI->addOperand(MachineOperand::CreateES(ES->getSymbol(), 0,
+ MI->addOperand(MachineOperand::CreateES(ES->getSymbol(),
ES->getTargetFlags()));
} else {
assert(Op.getValueType() != MVT::Other &&