1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

fix typo's

llvm-svn: 57435
This commit is contained in:
Gabor Greif 2008-10-13 10:28:12 +00:00
parent d9cedf70c7
commit 86742bf679

View File

@ -33,7 +33,7 @@ namespace llvm {
/// Note that Constants are immutable (once created they never change) /// Note that Constants are immutable (once created they never change)
/// and are fully shared by structural equivalence. This means that two /// and are fully shared by structural equivalence. This means that two
/// structurally equivalent constants will always have the same address. /// structurally equivalent constants will always have the same address.
/// Constant's are created on demand as needed and never deleted: thus clients /// Constants are created on demand as needed and never deleted: thus clients
/// don't have to worry about the lifetime of the objects. /// don't have to worry about the lifetime of the objects.
/// @brief LLVM Constant Representation /// @brief LLVM Constant Representation
class Constant : public User { class Constant : public User {
@ -66,7 +66,7 @@ public:
/// relocations which cannot be resolved at compile time. /// relocations which cannot be resolved at compile time.
bool ContainsRelocations() const; bool ContainsRelocations() const;
// Specialize get/setOperand for Constant's as their operands are always // Specialize get/setOperand for Constants as their operands are always
// constants as well. // constants as well.
Constant *getOperand(unsigned i) { Constant *getOperand(unsigned i) {
return static_cast<Constant*>(User::getOperand(i)); return static_cast<Constant*>(User::getOperand(i));