From c26d860b9f5a2853fe3fc73047a85495d207a7cb Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sun, 9 Apr 2023 22:24:38 +0800 Subject: [PATCH] Update vm.h --- src/vm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vm.h b/src/vm.h index 6acf383a..e63129cc 100644 --- a/src/vm.h +++ b/src/vm.h @@ -94,6 +94,7 @@ public: this->vm = this; this->_stdout = use_stdio ? &std::cout : &_stdout_buffer; this->_stderr = use_stdio ? &std::cerr : &_stderr_buffer; + callstack.data().reserve(8); init_builtin_types(); }