You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/engine/virtualmachine.cpp
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -612,22 +612,27 @@ do_list_get_item : {
612
612
FREE_REGS(1);
613
613
DISPATCH();
614
614
615
-
do_exec:
616
-
FREE_REGS(m_functions[*++pos](this));
615
+
do_exec : {
616
+
auto ret = m_functions[*++pos](this);
617
617
if (m_stop) {
618
618
m_stop = false;
619
-
if (m_regCount > 0) {
620
-
std::cout << "warning: VM: " << m_regCount << " registers were leaked by the script; this is most likely a bug in the VM or in the compiler" << std::endl;
0 commit comments