aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/PseudoSourceValue.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-02-07 18:41:25 +0000
committerDan Gohman <gohman@apple.com>2008-02-07 18:41:25 +0000
commit3069b8743769527ce7af6cfb6591a2f0fc2faee4 (patch)
tree9f44d2992737c6a84e7df99bf2549ef31a673bd6 /include/llvm/CodeGen/PseudoSourceValue.h
parent4fdad172deda12e10a6cf9b5c54cf9346cfaef00 (diff)
Follow Chris' suggestion; change the PseudoSourceValue accessors
to return pointers instead of references, since this is always what is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/PseudoSourceValue.h')
-rw-r--r--include/llvm/CodeGen/PseudoSourceValue.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/PseudoSourceValue.h b/include/llvm/CodeGen/PseudoSourceValue.h
index 3eaf475a57..6d7fb1fa81 100644
--- a/include/llvm/CodeGen/PseudoSourceValue.h
+++ b/include/llvm/CodeGen/PseudoSourceValue.h
@@ -37,21 +37,21 @@ namespace llvm {
/// A pseudo source value referencing to the stack frame of a function,
/// e.g., a spill slot.
- static const PseudoSourceValue &getFixedStack();
+ static const PseudoSourceValue *getFixedStack();
/// A source value referencing the area below the stack frame of a function,
/// e.g., the argument space.
- static const PseudoSourceValue &getStack();
+ static const PseudoSourceValue *getStack();
/// A source value referencing the global offset table (or something the
/// like).
- static const PseudoSourceValue &getGOT();
+ static const PseudoSourceValue *getGOT();
/// A SV referencing the constant pool
- static const PseudoSourceValue &getConstantPool();
+ static const PseudoSourceValue *getConstantPool();
/// A SV referencing the jump table
- static const PseudoSourceValue &getJumpTable();
+ static const PseudoSourceValue *getJumpTable();
};
} // End llvm namespace