summaryrefslogtreecommitdiffhomepage
path: root/mcc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mcc.cpp')
-rw-r--r--mcc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcc.cpp b/mcc.cpp
index fa9b0b8..7d94cf8 100644
--- a/mcc.cpp
+++ b/mcc.cpp
@@ -38,7 +38,7 @@ int main(int argc, char* argv[])
std::string unit_string(reinterpret_cast<char*>(unit.data()), unit.size());
- cpp.translate(unit_string);
+ cpp.compile(unit_string);
Elf::Write(out_filename, cpp.getCode(), cpp.getData());
} catch (const std::exception& ex) {