[llvm-commits] CVS: llvm/lib/Analysis/IPA/GlobalsModRef.cpp
Reid Spencer
reid at x10sys.com
Fri Dec 17 10:08:06 PST 2004
Indeed :)
On Fri, 2004-12-17 at 09:12, Chris Lattner wrote:
> Changes in directory llvm/lib/Analysis/IPA:
>
> GlobalsModRef.cpp updated: 1.9 -> 1.10
> ---
> Log message:
>
> Actually overload the virtual method. This fixes
> Regression/Analysis/GlobalsModRef/purecse.ll. Isn't this what the
> -Woverload-whatever flag would warn about :)
>
>
> ---
> Diffs of the changes: (+2 -1)
>
> Index: llvm/lib/Analysis/IPA/GlobalsModRef.cpp
> diff -u llvm/lib/Analysis/IPA/GlobalsModRef.cpp:1.9 llvm/lib/Analysis/IPA/GlobalsModRef.cpp:1.10
> --- llvm/lib/Analysis/IPA/GlobalsModRef.cpp:1.9 Wed Dec 15 01:22:13 2004
> +++ llvm/lib/Analysis/IPA/GlobalsModRef.cpp Fri Dec 17 11:12:24 2004
> @@ -104,7 +104,8 @@
> /// getModRefBehavior - Return the behavior of the specified function if
> /// called from the specified call site. The call site may be null in which
> /// case the most generic behavior of this function should be returned.
> - virtual ModRefBehavior getModRefBehavior(Function *F, CallSite CS) {
> + virtual ModRefBehavior getModRefBehavior(Function *F, CallSite CS,
> + std::vector<PointerAccessInfo> *Info) {
> if (FunctionRecord *FR = getFunctionInfo(F))
> if (FR->FunctionEffect == 0)
> return DoesNotAccessMemory;
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20041217/eeb1824e/attachment.sig>
More information about the llvm-commits
mailing list