aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-03-19 13:22:52 +0000
committergingerBill <bill@gingerbill.org>2022-03-19 13:22:52 +0000
commit246bd8ca6acf33002cf7d86fd6837c1a85b5a036 (patch)
treedf9ac874008b063fe501c50c9c5d2f9e5df8dc10 /src/main.cpp
parent30a4739a5265d9ff69a6fa81d631044ab0e4cb12 (diff)
Add `USE_MIDDLE_END`
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d51557290..439f2b450 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2743,10 +2743,12 @@ int main(int arg_count, char const **arg_ptr) {
return 0;
}
+ #if defined(USE_MIDDLE_END)
MAIN_TIME_SECTION("Middle End Pass");
if (!me_generate(checker)) {
return 1;
}
+ #endif
MAIN_TIME_SECTION("LLVM API Code Gen");
lbGenerator *gen = gb_alloc_item(permanent_allocator(), lbGenerator);