summaryrefslogtreecommitdiff
path: root/tools/standalone_miri/module_tree.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2018-06-04 13:21:22 +0800
committerJohn Hodge <tpg@mutabah.net>2018-06-04 13:21:22 +0800
commit42bdc18d4ba8f9fd19109050eb83bb6615539a75 (patch)
tree88501e01485038ad879160383b60c2e02b97f96e /tools/standalone_miri/module_tree.cpp
parent8d99deade68a9c995101fd5944f9011fcf3dccc7 (diff)
downloadmrust-42bdc18d4ba8f9fd19109050eb83bb6615539a75.tar.gz
All - Ensure that all files have a header comment, remove some dead code
Diffstat (limited to 'tools/standalone_miri/module_tree.cpp')
-rw-r--r--tools/standalone_miri/module_tree.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/tools/standalone_miri/module_tree.cpp b/tools/standalone_miri/module_tree.cpp
index 8beba018..eb6b6b9e 100644
--- a/tools/standalone_miri/module_tree.cpp
+++ b/tools/standalone_miri/module_tree.cpp
@@ -1,11 +1,16 @@
-//
-//
-//
+/*
+ * mrustc Standalone MIRI
+ * - by John Hodge (Mutabah)
+ *
+ * module_tree.cpp
+ * - In-memory representation of a Monomorphised MIR executable
+ * - Also handles parsing the .mir files
+ */
#include "module_tree.hpp"
#include "lex.hpp"
#include "value.hpp"
#include <iostream>
-#include <algorithm> // std::find
+#include <algorithm> // std::find
#include "debug.hpp"
ModuleTree::ModuleTree()