summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-05-22 13:49:45 +0800
committerJohn Hodge <tpg@mutabah.net>2016-05-22 13:49:45 +0800
commiteba9d8f840a5b81f0188d109e63631c9a34c28e9 (patch)
tree84afcedb79bbe6fa8cb4098f78cd2b8e5dc700e9 /src/main.cpp
parent9a13dd6f999984c45c72eccd0f8ad35430c4b12e (diff)
downloadmrust-eba9d8f840a5b81f0188d109e63631c9a34c28e9.tar.gz
Clean up dead code (both useless code, and stuff that will be rewritten for HIR)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b6dd9254..963491d5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -69,9 +69,6 @@ void CompilePhaseV(const char *name, Fcn f) {
/// main!
int main(int argc, char *argv[])
{
- AST_InitProvidedModule();
-
-
ProgramParams params(argc, argv);
// Set up cfg values
@@ -104,11 +101,6 @@ int main(int argc, char *argv[])
CompilePhaseV("Expand", [&]() {
Expand(crate);
});
-
- // Run a quick post-parse pass
- CompilePhaseV("PostParse", [&]() {
- crate.index_impls();
- });
// XXX: Dump crate before resolve
CompilePhaseV("Temp output - Parsed", [&]() {