[LLVMdev] Implementing try/catch/finally

Nicolas Geoffray nicolas.geoffray at lip6.fr
Mon Apr 21 05:44:10 PDT 2008


Hi Talin,

Talin wrote:
>> Interesting.
>>
>> After doing some more research, I noticed that Java uses a jsr to 
>> implement 'finally', at least according to this document:
>>
>>   http://java.sun.com/docs/books/jvms/second_edition/html/Compiling.doc.html
>>
>>     

Indeed, and you can still look at what I did in vmkit (files 
lib/JnJVM/VMCore/JavaJITOpcodes.cpp and JavaJIT.cpp).

Nicolas


>> -- Talin
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>     




More information about the llvm-dev mailing list