mirror of https://git.wuffs.org/MWCC
compiler can now recompile itself
This commit is contained in:
parent
c12644aae1
commit
8078e7f897
|
@ -7,7 +7,7 @@ include_directories(.)
|
||||||
include_directories(includes)
|
include_directories(includes)
|
||||||
include_directories(sdk_hdrs)
|
include_directories(sdk_hdrs)
|
||||||
|
|
||||||
add_compile_definitions(CW_PATCH_DEBUG)
|
# add_compile_definitions(CW_PATCH_DEBUG)
|
||||||
|
|
||||||
add_executable(mwcc
|
add_executable(mwcc
|
||||||
command_line/CmdLine/Src/Clients/CLStaticMain.c
|
command_line/CmdLine/Src/Clients/CLStaticMain.c
|
||||||
|
|
|
@ -297,7 +297,7 @@ static void I8_treecompare(SInt32 start, SInt32 end) {
|
||||||
d = b;
|
d = b;
|
||||||
}
|
}
|
||||||
emitpcode(PC_SUBFC, a, a, selector_gpr);
|
emitpcode(PC_SUBFC, a, a, selector_gpr);
|
||||||
emitpcode(PC_SUBFE, b, d, b);
|
emitpcode(PC_SUBFE, b, d, c);
|
||||||
emitpcode(PC_SUBFE, b, a, a);
|
emitpcode(PC_SUBFE, b, a, a);
|
||||||
emitpcode(PC_NEG, b, b);
|
emitpcode(PC_NEG, b, b);
|
||||||
emitpcode(PC_CMPI, 0, b, 0);
|
emitpcode(PC_CMPI, 0, b, 0);
|
||||||
|
|
Loading…
Reference in New Issue