[LLVMdev] Being able to know the jitted code-size before emitting

Nicolas Geoffray nicolas.geoffray at lip6.fr
Sun Mar 30 12:05:34 PDT 2008


Hi everyone,

vmkit requires to know the size of a jitted method before emitting the 
method. This allows to allocate the correct size for the method. The 
attached patch creates this functionality when the flag SizedMemoryCode 
is on.

In order to implement this functionality, i had to virtualize some 
MachineCodeEmitter functions.

Is it OK to commit the patch?

Thanks,
Nicolas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jit-size.patch
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080330/d88390fe/attachment.ksh>


More information about the llvm-dev mailing list