Hi Nivedita,

the particular error is about the IR verifier expecting branches only to end basic blocks. You need to create a new pseudo operator that is an MIR_Call, you will need to modify the code in rvm/src-generated/opt-ir to create this new instruction. As we verify between all compiler phases you may need to swizzle your pseudo instruction into an actual jmp in the final assembler expansion.


2009/1/23 Eliot Moss <moss@cs.umass.edu>
Nivedita -- Just changing the call to a jmp is not enough, since
the argument have to be in the right place on the stack, as well as
the eventual return address, etc. This is a deeper code generation
change that you will need to push through the back end .... EM

This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
Jikesrvm-researchers mailing list