rust/src/libsyntax
Alex Crichton 2f3fde60c3 Implement an address_insignificant attribute
This can be applied to statics and it will indicate that LLVM will attempt to
merge the constant in .data with other statics.

I have preliminarily applied this to all of the statics generated by the new
`ifmt!` syntax extension. I compiled a file with 1000 calls to `ifmt!` and a
separate file with 1000 calls to `fmt!` to compare the sizes, and the results
were:

fmt           310k
ifmt (before) 529k
ifmt (after)  202k

This now means that ifmt! is both faster and smaller than fmt!, yay!
2013-08-09 13:49:41 -07:00
..
ext Implement an address_insignificant attribute 2013-08-09 13:49:41 -07:00
parse Forbid priv where it has no effect 2013-08-07 22:41:12 -04:00
print Updated std::Option, std::Either and std::Result 2013-08-05 22:42:21 +02:00
util remove obsolete foreach keyword 2013-08-03 22:48:02 -04:00
abi.rs Updated std::Option, std::Either and std::Result 2013-08-05 22:42:21 +02:00
ast.rs Updated std::Option, std::Either and std::Result 2013-08-05 22:42:21 +02:00
ast_map.rs Make node_id_to_str print more useful info in some cases. Closes #2410. 2013-08-05 10:33:55 -07:00
ast_util.rs core: option.map_consume -> option.map_move 2013-08-07 08:52:09 -07:00
attr.rs core: option.map_consume -> option.map_move 2013-08-07 08:52:09 -07:00
codemap.rs auto merge of #8278 : cmr/rust/workaround, r=brson 2013-08-05 20:07:59 -07:00
diagnostic.rs core: option.map_consume -> option.map_move 2013-08-07 08:52:09 -07:00
fold.rs core: option.map_consume -> option.map_move 2013-08-07 08:52:09 -07:00
oldvisit.rs rm obsolete for support from the compiler 2013-08-04 00:39:48 -04:00
opt_vec.rs Generalize the ty::substs struct so that it can represent 2013-07-24 16:52:57 -04:00
syntax.rs Add initial support for a new formatting syntax 2013-08-07 19:21:43 -07:00
visit.rs rm obsolete for support from the compiler 2013-08-04 00:39:48 -04:00