Wrapping the JIT_NewArr1 helper function.

John Locke <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.rotor
Message-ID <[email protected]>
I'm changing the implementation of
get_jit_helper(newarray) so that at first invocation
of get_jit_helper, I create new assembly on the fly
and then return the address of that new assembly.  The
new assembly does some bookkeeping and then attempts
to call JIT_NewArr1.  At the end of JIT_NewArr1 in
HELPER_METHOD_FRAME_END, a null reference exception is
thrown at line 109 of gmsx86.cpp.

Any suggestions?  Do I need to emit the equivalent of
HELPER_METHOD_FRAME_END in the assembly code I
generate on the fly?  What about generating the code
added by HCIMPL2 as well?

Help!

John

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.