commit | 18ca9f2f72023f7abd693509be9020a56b76df1f | [log] [tgz] |
---|---|---|
author | Marco Nelissen <marcone@google.com> | Wed Sep 02 16:23:07 2009 -0700 |
committer | Marco Nelissen <marcone@google.com> | Wed Sep 02 16:23:07 2009 -0700 |
tree | 47436a747cafebb89906a0fb49ae51df1d517468 | |
parent | 5ca29e142032b6559824e4f7d526bbc037b90c93 [diff] |
Fix x86 call bridge
diff --git a/vm/arch/x86/Call386ABI.S b/vm/arch/x86/Call386ABI.S index 6cb680c..c98876c 100644 --- a/vm/arch/x86/Call386ABI.S +++ b/vm/arch/x86/Call386ABI.S
@@ -145,7 +145,7 @@ movl %eax,(%ecx) jmp cleanUpAndExit checkShort: - cmpl $6,%eax /* U2? */ + cmpl $6,%ebx /* U2? */ jne isSignedShort movzwl %ax,%eax movl %eax,(%ecx) @@ -153,6 +153,7 @@ isSignedShort: /* Must be S2 */ movswl %ax,%eax + movl %eax,(%ecx) jmp cleanUpAndExit isFP: /* Is Float? */