diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-05-30 17:16:20 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-05-30 17:16:20 +0000 |
commit | babf11f249c7c6399c66f2567d4e7efa9c37a9c3 (patch) | |
tree | 816778a63435b4ba76dc9c06038b28739fcf38f1 /include/llvm/Support/CallSite.h | |
parent | 33540adca55b95a5fdbb0dc783ded319a90b4bc1 (diff) | |
download | external_llvm-babf11f249c7c6399c66f2567d4e7efa9c37a9c3.tar.gz external_llvm-babf11f249c7c6399c66f2567d4e7efa9c37a9c3.tar.bz2 external_llvm-babf11f249c7c6399c66f2567d4e7efa9c37a9c3.zip |
Patches for building llvm on Solaris x86. Contributed by Nathan Keynes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/CallSite.h')
-rw-r--r-- | include/llvm/Support/CallSite.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h index f118680d6f..d7b28fce37 100644 --- a/include/llvm/Support/CallSite.h +++ b/include/llvm/Support/CallSite.h @@ -36,11 +36,11 @@ public: CallSite(CallInst *CI) : I(reinterpret_cast<Instruction*>(CI)) {} CallSite(InvokeInst *II) : I(reinterpret_cast<Instruction*>(II)) {} CallSite(Instruction *C); - CallSite(const CallSite &CS) : I(CS.I) {} - CallSite &operator=(const CallSite &CS) { I = CS.I; return *this; } + CallSite(const CallSite &cs) : I(cs.I) {} + CallSite &operator=(const CallSite &cs) { I = cs.I; return *this; } - bool operator==(const CallSite &CS) const { return I == CS.I; } - bool operator!=(const CallSite &CS) const { return I != CS.I; } + bool operator==(const CallSite &cs) const { return I == cs.I; } + bool operator!=(const CallSite &cs) const { return I != cs.I; } /// CallSite::get - This static method is sort of like a constructor. It will /// create an appropriate call site for a Call or Invoke instruction, but it @@ -148,8 +148,8 @@ public: bool arg_empty() const { return arg_end() == arg_begin(); } unsigned arg_size() const { return unsigned(arg_end() - arg_begin()); } - bool operator<(const CallSite &CS) const { - return getInstruction() < CS.getInstruction(); + bool operator<(const CallSite &cs) const { + return getInstruction() < cs.getInstruction(); } }; |