Message:
This removes PushRel from exception handling.
Exceptions are stored in extra allocas and wrote on the correct stack
position before entering the handler block.
Please review this at http://codereview.appspot.com/1958046/
Affected files:
M JIT/llvm_fbuilder.cc
M JIT/llvm_fbuilder.h
M JIT/opcodes/block.cc
http://codereview.appspot.com/1958046/diff/1/4
File JIT/llvm_fbuilder.cc (right):
http://codereview.appspot.com/1958046/diff/1/4#newcode601
JIT/llvm_fbuilder.cc:601: // Just store the exception in allocas.
I'd elaborate here along the lines of:
We don't know which stack slots the exc triplet is going into until
later, so we save it in an alloca and let the opcode implementations
copy it into the correct stack slots.
Reid