search for: invokevirtual

Displaying 6 results from an estimated 6 matches for "invokevirtual".

2008 Apr 23
2
[LLVMdev] templates vs code to generate IR
...------ Imagine that you would like to generate the Java byte codes using a program for the following java code: System.out.println("Hello"); The javac byte code compiler will generate the following byte codes: getstatic java/lang/System/out Ljava/io/PrintStream; ldc "Hello" invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V Either you use templates that render to text or you use a library such as BCEL to create a data structure that will render to text. Here is a StringTemplate template definition that will generated byte codes to print any string. println(s) ::...
2008 Apr 24
0
[LLVMdev] templates vs code to generate IR
...nerate the Java byte codes using a > program for the following java code: > > System.out.println("Hello"); > > The javac byte code compiler will generate the following byte codes: > > getstatic java/lang/System/out Ljava/io/PrintStream; > ldc "Hello" > invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V > > Either you use templates that render to text or you use a library such > as BCEL to create a data structure that will render to text. Here is a > StringTemplate template definition that will generated byte codes to > print any stri...
2008 Jun 11
3
[LLVMdev] Possible miscompilation?
Hi all, I'm trying to figure out a weird bug I'm seeing. I'm hoping it's something simple in my IR but I can't see anything wrong so I'm hoping someone here can see something. I'm using LLVM to compile Java bytecode into native functions. My code keeps track of the Java local variables in an array of llvm::Value pointers which get phi'd up at various points. The
2014 Apr 17
2
[LLVMdev] Importance of VMKit JIT function cache
Hi Gael I am sorry that I couldn't explain what I was trying to say, anyway I've got the answer :) . In the *parseFunction* method returns *llvmfunction* pointer of compiled method and then it will be stored in to cache. Could you please more elaborate on how those machine instructions ( native functions) executing by llvm. I was trying trace and I couldn't able to find
2006 May 02
0
[LLVMdev] Re: Newbie questions
On 29 Apr 2006 20:38:58 -0600, Tom Tromey <tromey at redhat.com> wrote: > >>>>> "Archie" == Archie Cobbs <archie at dellroad.org> writes: > > >> In the JIT, devirtualization looks doable, though somewhat fiddly. At > >> least, that is true for straightforward things like calls to methods > >> in final classes, or calls to
2006 Apr 30
3
[LLVMdev] Re: Newbie questions
>>>>> "Archie" == Archie Cobbs <archie at dellroad.org> writes: >> In the JIT, devirtualization looks doable, though somewhat fiddly. At >> least, that is true for straightforward things like calls to methods >> in final classes, or calls to methods on objects allocated with 'new' >> in the current function. (The latter could be