Handle indirect function calls.
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Wed, 8 Apr 2009 05:38:48 +0000 (05:38 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Wed, 8 Apr 2009 05:38:48 +0000 (05:38 +0000)
commit7836fc129ab5f212ee2cd5b3c232d93751f3e853
tree7cfec61db3692a3530ab506a32dd28e8854814b9
parentbd6de0a2b3409c04d31886e4dfd705c61889b24a
Handle indirect function calls.
Every function has the address of its frame in the beginning of code section.
The frame address is retrieved and used to pass arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68597 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PIC16/PIC16AsmPrinter.cpp
lib/Target/PIC16/PIC16ISelLowering.cpp
lib/Target/PIC16/PIC16ISelLowering.h
lib/Target/PIC16/PIC16InstrInfo.td
lib/Target/PIC16/PIC16RegisterInfo.td