summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-21 18:51:21 +0000
committerChris Lattner <sabre@nondot.org>2010-09-21 18:51:21 +0000
commit886250c8f0fb3ba1ca85cb4374c3749948eb7111 (patch)
tree5969c339718f85bc8ba3a3549a306bd2c669c749 /llvm/lib/CodeGen/MachineInstr.cpp
parent676c61db0ef53ccbec70ed52adc87a5d1da4f0ed (diff)
downloadbcm5719-llvm-886250c8f0fb3ba1ca85cb4374c3749948eb7111.tar.gz
bcm5719-llvm-886250c8f0fb3ba1ca85cb4374c3749948eb7111.zip
convert a couple more places to use the new getStore()
llvm-svn: 114463
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 6372c196f7d..d30e3c99591 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -362,6 +362,10 @@ MachinePointerInfo MachinePointerInfo::getGOT() {
return MachinePointerInfo(PseudoSourceValue::getGOT());
}
+MachinePointerInfo MachinePointerInfo::getStack(int64_t Offset) {
+ return MachinePointerInfo(PseudoSourceValue::getStack(), Offset);
+}
+
MachineMemOperand::MachineMemOperand(MachinePointerInfo ptrinfo, unsigned f,
uint64_t s, unsigned int a)
: PtrInfo(ptrinfo), Size(s),
OpenPOWER on IntegriCloud