Website Summary Files Commits Branches @commit @diff @stats
path: root / spasm / src / main.cpp
diff options
context:
space:
mode:
Commit9a7a8a31e75d1b85274ef46ca29714270062809e (patch)
Author
 dtrendafilov <trendafilov.dn@gmail.com>
2018-11-14 19:47:37 +0200
Committer
 GitHub <noreply@github.com>
2018-11-14 19:47:37 +0200
Files587a120e78e7c0d50c381d8f38bf0665ed8733a7 /spasm/src/main.cpp
IPL-9a7a8a31e75d1b85274ef46ca29714270062809e.tar
IPL-9a7a8a31e75d1b85274ef46ca29714270062809e.tar.gz
IPL-9a7a8a31e75d1b85274ef46ca29714270062809e.zip
Parent990a8f5e2c2d6e246acfd8b7a99ac1cbf4fb1675 (diff)
Parente7c2a14f3e424f1ef1109d7634ece820a058e862 (diff)
Merge pull request #45 from SofiaCPP/feature/spasm_improvements
Feature/spasm improvements
1 files changed, 2 insertions, 1 deletions
-rw-r--r--spasm/src/main.cpp3
diff --git a/spasm/src/main.cpp b/spasm/src/main.cpp
index 17bb322..a6465a6 100644
--- a/spasm/src/main.cpp
+++ b/spasm/src/main.cpp
@@ -23,7 +23,8 @@ int main(int argc, const char* argv[])
std::cout << std::hex << (int)bytecode[i] << ' ';
std::cout << std::endl;
- Spasm::Spasm vm(len, bytecode.get());
+ Spasm::Spasm vm;
+ vm.Initialize(len, bytecode.get());
vm.run();