aboutsummaryrefslogtreecommitdiff
path: root/src/comp/rustc.rc
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-04-19 16:40:46 -0700
committerPatrick Walton <[email protected]>2011-04-19 16:41:08 -0700
commit6651826677842083c59725903a856eb39d8e5051 (patch)
treeb1ffc8f3bf31b7c1432ef9c600849b6b5cb56bd2 /src/comp/rustc.rc
parentrustc: Use marijnh's stringifier for type hash and equality, since it's not s... (diff)
downloadrust-6651826677842083c59725903a856eb39d8e5051.tar.xz
rust-6651826677842083c59725903a856eb39d8e5051.zip
rustc: Cache the results of type_of()
Diffstat (limited to 'src/comp/rustc.rc')
-rw-r--r--src/comp/rustc.rc32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc
index f580edea..950b43b0 100644
--- a/src/comp/rustc.rc
+++ b/src/comp/rustc.rc
@@ -3,6 +3,22 @@
use std;
+mod middle {
+ mod trans;
+ mod ty;
+ mod fold;
+ mod metadata;
+ mod resolve;
+ mod capture;
+ mod typeck;
+ mod typestate_check;
+}
+
+mod pretty {
+ mod pprust;
+ mod pp;
+}
+
mod front {
mod ast;
mod creader;
@@ -14,17 +30,6 @@ mod front {
mod eval;
}
-mod middle {
- mod fold;
- mod metadata;
- mod resolve;
- mod capture;
- mod trans;
- mod ty;
- mod typeck;
- mod typestate_check;
-}
-
mod back {
mod abi;
mod x86;
@@ -35,11 +40,6 @@ mod driver {
mod session;
}
-mod pretty {
- mod pp;
- mod pprust;
-}
-
mod util {
mod common;
mod typestate_ann;