> URL: http://llvm.org/viewvc/llvm-project?rev=40946&view=rev
> Log:
> Change the None and NonLocal markers in memdep to be const.

Sorry for the confusion but:

> -    static Instruction* NonLocal;
> -    static Instruction* None;
> +    static const Instruction* NonLocal;
> +    static const Instruction* None;

This (and all the changes to change Instruction* -> const  
Instruction*) doesn't make NonLocal and None const.  You want:

     static Instruction* const NonLocal;
     static Instruction* const None;

Which doesn't require the const_cast's and other things.

-Chris

_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to