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
+1 -1
View File
@@ -96,7 +96,7 @@ void PackDjgpp2::buildLoader(const Filter *ft)
initLoader(stub_i386_dos32_djgpp2, sizeof(stub_i386_dos32_djgpp2));
addLoader("IDENTSTR,DJ2MAIN1",
ft->id ? "DJCALLT1" : "",
"DJ2MAIN2",
ph.first_offset_found == 1 ? "DJ2MAIN2" : "",
M_IS_LZMA(ph.method) ? "LZMA_INIT_STACK" : "",
getDecompressorSections(),
M_IS_LZMA(ph.method) ? "LZMA_DONE_STACK" : "",