rust/src/rustc/driver
Tim Chevalier 2bb3b63ec4 Eliminate a copy in syntax::parse::new_parser_from_file
Fixing a FIXME turned out to be pretty involved. I added an io function
that returns a unique boxed string (for the contents of a file) rather than
a string, and went from there. Also made the src field of codemap a unique
boxed string. This doesn't seem to make that much difference in amount of
allocation according to valgrind (disappointingly), but I also had to introduce
a copy somewhere else pending a new snapshot, so maybe that's it.
2012-04-30 10:44:31 -07:00
..
driver.rs Eliminate a copy in syntax::parse::new_parser_from_file 2012-04-30 10:44:31 -07:00
rustc.rs rustc: Use a slightly more consistent style for unexpected errors 2012-04-28 16:38:06 -07:00
session.rs syntax: Put the main parser interface in mod parse 2012-04-18 10:50:50 -07:00