Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/utilities/soql/sa.js @ 1602:136b78722a08
6939203: JSR 292 needs method handle constants
Summary: Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType; extend 'ldc' bytecode.
Reviewed-by: twisti, never
author | jrose |
---|---|
date | Wed, 09 Jun 2010 18:50:45 -0700 |
parents | c18cbe5936b8 |
children | 0a8e0d4345b3 |
comparison
equal
deleted
inserted
replaced
1585:49fac4acd688 | 1602:136b78722a08 |
---|---|
823 } else { | 823 } else { |
824 writeln("bci", '\t', "instruction"); | 824 writeln("bci", '\t', "instruction"); |
825 } | 825 } |
826 writeln(""); | 826 writeln(""); |
827 disAsm.decode(new sapkg.interpreter.BytecodeVisitor() { | 827 disAsm.decode(new sapkg.interpreter.BytecodeVisitor() { |
828 prologue: function(method) { }, | |
829 epilogue: function() { }, | |
828 visit: function(bytecode) { | 830 visit: function(bytecode) { |
829 if (hasLines) { | 831 if (hasLines) { |
830 var line = method.getLineNumberFromBCI(bci); | 832 var line = method.getLineNumberFromBCI(bci); |
831 writeln(bci, '\t', line, '\t', bytecode); | 833 writeln(bci, '\t', line, '\t', bytecode); |
832 } else { | 834 } else { |