[llvm-branch-commits] [llvm-branch] r100004 - /llvm/branches/ggreif/const-CallSite/include/llvm/Support/CallSite.h
Gabor Greif
ggreif at gmail.com
Wed Mar 31 05:15:37 PDT 2010
Author: ggreif
Date: Wed Mar 31 07:15:37 2010
New Revision: 100004
URL: http://llvm.org/viewvc/llvm-project?rev=100004&view=rev
Log:
oops, should compile before committing...
Modified:
llvm/branches/ggreif/const-CallSite/include/llvm/Support/CallSite.h
Modified: llvm/branches/ggreif/const-CallSite/include/llvm/Support/CallSite.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/const-CallSite/include/llvm/Support/CallSite.h?rev=100004&r1=100003&r2=100004&view=diff
==============================================================================
--- llvm/branches/ggreif/const-CallSite/include/llvm/Support/CallSite.h (original)
+++ llvm/branches/ggreif/const-CallSite/include/llvm/Support/CallSite.h Wed Mar 31 07:15:37 2010
@@ -140,10 +140,10 @@
IterTy arg_begin() const {
assert(getInstruction() && "Not a call or invoke instruction!");
// Skip non-arguments
- return (this*)->op_begin() + getArgumentOffset();
+ return (*this)->op_begin() + getArgumentOffset();
}
- IterTy arg_end() const { return (this*)->op_end() - getArgumentEndOffset(); }
+ IterTy arg_end() const { return (*this)->op_end() - getArgumentEndOffset(); }
bool arg_empty() const { return arg_end() == arg_begin(); }
unsigned arg_size() const { return unsigned(arg_end() - arg_begin()); }
More information about the llvm-branch-commits
mailing list