]> gitweb.factorcode.org Git - factor.git/commitdiff
vm: minor fixes.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 4 Aug 2015 14:49:50 +0000 (07:49 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 4 Aug 2015 14:49:50 +0000 (07:49 -0700)
vm/contexts.hpp
vm/debug.cpp

index 20d773dea95c5c942a2ebfa0199fc853b611af49..fc169816462d8a1f5b50ec727eb46315895ed1d3 100644 (file)
@@ -14,7 +14,7 @@ enum context_object {
 
 /* When the callstack fills up (e.g by to deep recursion), a callstack
    overflow error is triggered. So before continuing executing on it
-   in general_error(), we chop of this many bytes to have some space
+   in general_error(), we chop off this many bytes to have some space
    to work with. */
 static const cell stack_reserved = 4096;
 
index 46b4b444faf7f65f398ab29bab9412fdfce32724..43ec2795ad62b78ec451d49595a303debb31e941 100644 (file)
@@ -445,8 +445,8 @@ void factor_vm::factorbug_usage(bool advanced_p) {
 }
 
 static void exit_fep(factor_vm* vm) {
-  vm->unlock_console();
-  vm->handle_ctrl_c();
+  unlock_console();
+  handle_ctrl_c();
   vm->fep_p = false;
 }