[llvm-commits] CAUTION: Type != Value

Reid Spencer reid at x10sys.com
Sun Jul 4 07:27:01 PDT 2004


LLVMers,

I have committed one of the major changes on the way to finishing bug
122: Type no longer derives from Value. My changes have all been
committed and they pass 100% of Feature & Regression tests as well as
being able to compile llvm-gcc. 

Please be aware of the following changes made by my commits:

* Type no longer derives from Value (yeah!). Consequently, Types are
  smaller and hopefully faster. Types no longer have a Uses vector.
* You can't use Value and Type interchangeably any more. When you 
  mean a Type, use Type*. When you mean a Value, use Value*.
* Value.h no longer #includes <iostream>. I've made the necessary 
  changes to all the .cpp files but going forward please only
  #include <iostream> from a .cpp file
* The bytecode file format changed. Types are now written separately
  from values
* There's a new bytecode analysis tool, llvm-bcanalyzer, that will
  produce statistics about bytecode files.

I'm pretty certain this doesn't break *anything*, but a change of this
scope isn't without its subtleties. If you suspect something is broken
related to these changes or you need further description/explanation,
please don't hesitate to contact me.  

Best Regards,

Reid.
-------------- 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/20040704/3e4d3d9e/attachment.sig>


More information about the llvm-commits mailing list