* src/vm/vm.cpp (VM::abort): Removed.
[cacao.git] / src / mm / gc-boehm.cpp
index ed3e20923ba422a4ae03b64bf5fff0a8e7a3424f..bfd612b010cf6be5879a74d721929707d003057f 100644 (file)
@@ -47,7 +47,7 @@
 #include "vm/exceptions.hpp"
 #include "vm/finalizer.h"
 #include "vm/global.h"
-#include "vm/loader.h"
+#include "vm/loader.hpp"
 #include "vm/options.h"
 #include "vm/rt-timing.h"
 #include "vm/string.hpp"
@@ -240,7 +240,7 @@ void *gc_out_of_memory(size_t bytes_requested)
 
        if (in_gc_out_of_memory) {
                /* this is all we can do... */
-               VM::get_current()->abort("gc_out_of_memory: out of memory");
+               os::abort("gc_out_of_memory: out of memory");
        }
 
        in_gc_out_of_memory = true;