[llvm-commits] CVS: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp ARMLoadStoreOptimizer.cpp

Chris Lattner clattner at apple.com
Tue May 1 21:15:05 PDT 2007


> +    static const int ID;
> +    ARMConstantIslands() : MachineFunctionPass((intptr_t)&ID) {}

Why the cast to intptr_t?  Why not just make the ctors take void* ?

-Chris






More information about the llvm-commits mailing list