[llvm] r223192 - GCRelocateOperands: Try to appease msc17.

Philip Reames listmail at philipreames.com
Tue Dec 2 20:51:49 PST 2014


Sorry for the breakage.  Oddly, I didn't see any bot notices about the 
failure.  Which bot hit this?

Can you summarize the problem so I can try to avoid in the future?

Philip

On 12/02/2014 06:40 PM, NAKAMURA Takumi wrote:
> Author: chapuni
> Date: Tue Dec  2 20:40:24 2014
> New Revision: 223192
>
> URL: http://llvm.org/viewvc/llvm-project?rev=223192&view=rev
> Log:
> GCRelocateOperands: Try to appease msc17.
>
> Modified:
>      llvm/trunk/include/llvm/IR/Statepoint.h
>
> Modified: llvm/trunk/include/llvm/IR/Statepoint.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Statepoint.h?rev=223192&r1=223191&r2=223192&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/IR/Statepoint.h (original)
> +++ llvm/trunk/include/llvm/IR/Statepoint.h Tue Dec  2 20:40:24 2014
> @@ -177,8 +177,9 @@ class GCRelocateOperands {
>     ImmutableCallSite RelocateCS;
>   
>    public:
> -  GCRelocateOperands(const User* U)
> -    : GCRelocateOperands(cast<Instruction>(U)) {}
> +  GCRelocateOperands(const User* U) : RelocateCS(U) {
> +    assert(isGCRelocate(U));
> +  }
>     GCRelocateOperands(const Instruction *inst) : RelocateCS(inst) {
>       assert(isGCRelocate(inst));
>     }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list