Displaying 1 result from an estimated 1 matches for "constantptr".
2007 Dec 01
1
[LLVMdev] Runtime JIT: passing function pointers as values?
...9;m starting with HowToUseJIT.cpp as a base for experimentation. Is it
possible to take the address of the C++ function and pass it to the JIT
directly as a value, rather than referencing the function by a symbolic name?
That is, a class analagous to "ConstantInt" but for pointers:
"ConstantPtr::get(MyFunctionType, &MyCPPFunction)"
- --BDS
- --
Benjamin Smedberg
Platform Guru
Mozilla Corporation
benjamin at smedbergs.us
http://benjamin.smedbergs.us/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8D...