aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.cpp b/tests/main.cpp
index b853d07..dfecb76 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -66,7 +66,7 @@ int main(int argc, char** argv) {
module.Generate();
module.Optimize(2);
- std::vector<std::uint8_t> code{module.Assembly()};
+ std::vector<std::uint8_t> code{module.Assemble()};
FILE* file = fopen("sirit.spv", "wb");
fwrite(code.data(), 1, code.size(), file);