diff options
author | John van Groningen | 2012-02-06 14:21:05 +0000 |
---|---|---|
committer | John van Groningen | 2012-02-06 14:21:05 +0000 |
commit | a790799bd6b53a0b2dd0207cdf3566ca6404d3a8 (patch) | |
tree | ccb7acca62802894b4dd3a741fabdfca89127eb4 | |
parent | fix minimum heap size test for the memory profiler (diff) |
use linux calling convention for second call of file_read_s_line (instead of windows calling convention)
-rw-r--r-- | afileIO3.s | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -788,16 +788,18 @@ st_copy_string2: sub rcx,1 jnc copy_st_lp2 - mov r9,rsp - mov r8,rdi - lea rdx,[r15*8] - mov rcx,rbx - + mov rcx,rsp + mov rdx,rdi mov rbp,rsp - or rsp,8 - sub rsp,40 + and rsp,-16 + mov r13,rsi + lea rsi,[r15*8] + mov r14,rdi + mov rdi,rbx call file_read_s_line mov rsp,rbp + mov rsi,r13 + mov rdi,r14 test rax,rax js readLineSF_again |