Merged branch subtype-trunk into default.
[cacao.git] / src / vm / jit / i386 / patcher.c
index 5b00e789ab59176011c4818968732ee2a4cb23db..fb04b86c4e1e2ac8a88bad0f5f35d963862e2383 100644 (file)
@@ -32,7 +32,7 @@
 #include "vm/jit/i386/codegen.h"
 #include "vm/jit/i386/md.h"
 
-#include "mm/memory.h"
+#include "mm/memory.hpp"
 
 #include "native/native.hpp"
 
@@ -245,7 +245,7 @@ bool patcher_putfieldconst(patchref_t *pr)
 
    Machine code:
 
-   <patched call position>
+   <patched call postition>
    c7 04 24 00 00 00 00       movl   $0x0000000,(%esp)
    b8 00 00 00 00             mov    $0x0000000,%eax
 
@@ -380,7 +380,7 @@ bool patcher_invokestatic_special(patchref_t *pr)
        ra    = (u1 *)                pr->mpc;
        um    = (unresolved_method *) pr->ref;
 
-       /* get the methodinfo */
+       /* get the fieldinfo */
 
        if (!(m = resolve_method_eager(um)))
                return false;