1
Fork 0

rustc: Move the AST from @T to Gc<T>

This commit is contained in:
Alex Crichton 2014-05-16 10:15:33 -07:00
parent 53ad426e92
commit 54c2a1e1ce
78 changed files with 1405 additions and 1348 deletions

View file

@ -37,6 +37,7 @@ extern crate log;
use std::io;
use std::io::{File, MemWriter};
use std::str;
use std::gc::Gc;
use serialize::{json, Decodable, Encodable};
// reexported from `clean` so it can be easily updated with the mod itself
@ -85,7 +86,7 @@ static DEFAULT_PASSES: &'static [&'static str] = &[
"unindent-comments",
];
local_data_key!(pub ctxtkey: @core::DocContext)
local_data_key!(pub ctxtkey: Gc<core::DocContext>)
local_data_key!(pub analysiskey: core::CrateAnalysis)
type Output = (clean::Crate, Vec<plugins::PluginJson> );