[amd64] Avoid passing the pc/pc offset to the throw corlib exception trampoline in...
authorZoltan Varga <vargaz@gmail.com>
Tue, 29 Mar 2016 00:44:40 +0000 (20:44 -0400)
committerZoltan Varga <vargaz@gmail.com>
Tue, 29 Mar 2016 00:44:40 +0000 (20:44 -0400)
commit80ed8ebf3de393d743390d00b91240e09695eaa7
treeb71f886cfaff3293e1a7b2e6ca02b8427e232560
parent5d10499fd68271f77ef2f53522c2d8a64f178a2e
[amd64] Avoid passing the pc/pc offset to the throw corlib exception trampoline in llvm mode, instead simply use the return address pushed by the call itself. In JIT mode, this is needed because the throw code is generated out of line so its not inside the try range, but in llvm mode, the try-range encompasses the call.
mono/mini/exceptions-amd64.c
mono/mini/mini-llvm.c