Mercurial > projects > ldc
view ir/ir.h @ 1101:8bf8b058944a
Clean up asm code a bit.
- Use vector instead of Array, reducing allocations.
- Use vectors instead of deques since we only push_back and index.
- Remove redundant typedefs of iterators.
- Comment out unused variable (used only in commented-out GDC code).
- A few whitespace changes.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Thu, 12 Mar 2009 14:08:57 +0100 |
parents | eef8ac26c66c |
children | dbe4af57b240 |
line wrap: on
line source
// this head contains stuff used by all the IR #ifndef LDC_IR_IR_H #define LDC_IR_IR_H #include "ir/irforw.h" #include "root.h" struct IrBase : Object { virtual ~IrBase() {} }; #endif