[LLVMdev] Dynamic (JIT) type resolution
Chris Lattner
sabre at nondot.org
Wed Nov 7 10:52:17 PST 2007
On Wed, 7 Nov 2007, Nicolas Geoffray wrote:
> I'm not sure actually how can I do that language specific ;). OK
> currently only Java does that (from what I know), but intrinsics like
> getElementDouble or setElementDouble do look general purpose. Unless,
> I'm too Java-minded?
Focus on the mechanism behind what you want to do, not on what you want to
do itself :). Think about a way to separate what you want to accomplish
from how it gets done.
>> You'll probably want to do this late in the code generator.
> Therefore when instructions are lowered to target-specific instructions?
yep,
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list