Implement a micro-optimization which has been on our TODO list for ages:

remove "or ebp,-1" when not needed
This commit is contained in:
Markus F.X.J. Oberhumer
2006-12-08 09:20:14 +01:00
parent 217420cfa5
commit a77b598f82
22 changed files with 5925 additions and 5821 deletions
+2
View File
@@ -87,6 +87,8 @@ void PackTmt::buildLoader(const Filter *ft)
// prepare loader
initLoader(stub_i386_dos32_tmt, sizeof(stub_i386_dos32_tmt));
addLoader("IDENTSTR,TMTMAIN1",
ph.first_offset_found == 1 ? "TMTMAIN1A" : "",
"TMTMAIN1B",
ft->id ? "TMTCALT1" : "",
"TMTMAIN2,UPX1HEAD,TMTCUTPO",
NULL);