[llvm-commits] [dragonegg] r154702 - in /dragonegg/trunk: include/dragonegg/Trees.h src/Backend.cpp src/Constants.cpp src/Convert.cpp src/Debug.cpp src/DefaultABI.cpp src/Trees.cpp src/Types.cpp src/arm/Target.cpp src/x86/Target.cpp

Chris Lattner clattner at apple.com
Fri Apr 13 15:22:30 PDT 2012


On Apr 13, 2012, at 1:48 PM, Duncan Sands wrote:

> Author: baldrick
> Date: Fri Apr 13 15:48:54 2012
> New Revision: 154702
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=154702&view=rev
> Log:
> Introduce an "isa" method for testing tree codes, making it possible to write
> "isa<INTEGER_TYPE>(type)" rather than "TREE_CODE(type) == INTEGER_TYPE".

Heh, nice.  You should mention this on the "GCC in C++" megathread over on the gcc list :)

-Chris



More information about the llvm-commits mailing list