From: Peter D. <pe...@re...> - 2007-05-17 23:48:16
|
On 5/18/07, Eliot Moss <mo...@cs...> wrote: > >>>>> "Iain" == Iain Walsh <wa...@cs...> writes: > > Iain> the methods > Iain> VM_NormalMethod.getLocalWords() > Iain> http://rvm.codehaus.org/docs/api/org/jikesrvm/classloader/VM_NormalMethod.html#getLocalWords() > Iain> VM_NormalMethod.getOperandWords() > Iain> http://rvm.codehaus.org/docs/api/org/jikesrvm/classloader/VM_NormalMethod.html#getOperandWords() > > If I have to guess, these come from the original bytecode -- they're not > computed, they're just there :-). Correct - they are read in VM_Method.readMethod() (see tmp_localWords local variable). The other place they are created is where we synthesize the methods/constructor for annotations. -- Cheers, Peter Donald |