Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-06-17 23:00:15 +0300
committerJan Kotas <jkotas@microsoft.com>2016-06-17 23:00:15 +0300
commit579e324be4d0b25436ad895f180bcaef7f0d66b9 (patch)
tree00bdc679e12722790af7ea85c2ae579bd9a5ba69 /src/Native/Runtime/i386
parent7c583718e3bde2e41b532ad3fe261fab8dba7c59 (diff)
Revert "Cleanup RhExceptionHandling_ functions"
[tfs-changeset: 1613407]
Diffstat (limited to 'src/Native/Runtime/i386')
-rw-r--r--src/Native/Runtime/i386/DivModHelpers.asm10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Native/Runtime/i386/DivModHelpers.asm b/src/Native/Runtime/i386/DivModHelpers.asm
index 91229c26e..67e40ccf6 100644
--- a/src/Native/Runtime/i386/DivModHelpers.asm
+++ b/src/Native/Runtime/i386/DivModHelpers.asm
@@ -73,18 +73,16 @@ FASTCALL_ENDFUNC
;; make it look like the managed code called this directly
;; by popping the parameters and putting the return address in the proper place
ThrowClasslibOverflowException proc
- pop ecx
+ pop eax
add esp,16
- push ecx
- ;; passing return address in ecx
+ push eax
jmp RhExceptionHandling_ThrowClasslibOverflowException
ThrowClasslibOverflowException endp
ThrowClasslibDivideByZeroException proc
- pop ecx
+ pop eax
add esp,16
- push ecx
- ;; passing return address in ecx
+ push eax
jmp RhExceptionHandling_ThrowClasslibDivideByZeroException
ThrowClasslibDivideByZeroException endp