OSDN Git Service

Merge branch 'master' of git.sourceforge.jp:/gitroot/heavyosecpu/HeavyOSECPU
[heavyosecpu/HeavyOSECPU.git] / jitc.c
diff --git a/jitc.c b/jitc.c
index f331586..d9668a7 100644 (file)
--- a/jitc.c
+++ b/jitc.c
@@ -29,6 +29,7 @@ void errorHandler(HOSECPU_RuntimeEnvironment *r)
 
 int jitCompCmdLen(const unsigned char *src)
 {
+    //BCode命令長を取得する
        int i = 1;
        if (0x01 <= *src && *src < 0x04) i = 6;
        if (*src == 0x04) i = 2;
@@ -43,7 +44,10 @@ int jitCompCmdLen(const unsigned char *src)
        if (*src == 0xfe) i = 2 + src[1];
        return i;
 }
-#if (JITC_ARCNUM == 0x0001)    /* x86-32bit */
+#if (JITC_ARCNUM == 0x0001)
+//
+// for x86-32bit
+//
 
 /* 他のCPUへ移植する人へ:
 以下は最適化のためのものなので、すべて0として簡単に移植しても問題ありません */