* Moved all files from vmcore/ to vm/.
[cacao.git] / src / vm / jit / i386 / codegen.c
index 47c0f383b4188ead560609972843a4dc51f4b2d6..d18b645e8a57460f702b4e0fc5af9e3496d7cf23 100644 (file)
 #include "threads/lock-common.h"
 
 #include "vm/builtin.h"
-#include "vm/exceptions.h"
+#include "vm/exceptions.hpp"
 #include "vm/global.h"
+#include "vm/loader.h"
+#include "vm/options.h"
 #include "vm/primitive.hpp"
-#include "vm/stringlocal.h"
+#include "vm/utf8.h"
 #include "vm/vm.hpp"
 
 #include "vm/jit/abi.h"
 # include "vm/jit/allocator/lsra.h"
 #endif
 
-#include "vmcore/loader.h"
-#include "vmcore/options.h"
-#include "vmcore/utf8.h"
-
 
 /* codegen_emit ****************************************************************
 
@@ -3637,7 +3635,7 @@ void codegen_emit_stub_native(jitdata *jd, methoddesc *nmd, functionptr f, int s
        switch (md->returntype.type) {
        case TYPE_INT:
        case TYPE_ADR:
-               switch (md->returntype.decltype) {
+               switch (md->returntype.primitivetype) {
                case PRIMITIVETYPE_BOOLEAN:
                        M_BZEXT(REG_RESULT, REG_RESULT);
                        break;