--- a/JavaByteCodeDisassembler.st Wed Sep 11 03:01:48 2013 +0100
+++ b/JavaByteCodeDisassembler.st Wed Sep 11 11:35:14 2013 +0100
@@ -53,7 +53,6 @@
"
! !
-
!JavaByteCodeDisassembler class methodsFor:'initialization'!
initialize
@@ -66,7 +65,6 @@
"Modified: / 22-03-2011 / 20:53:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
-
!JavaByteCodeDisassembler class methodsFor:'instance creation'!
new
@@ -75,7 +73,6 @@
^ self basicNew initialize.
! !
-
!JavaByteCodeDisassembler class methodsFor:'disassembling'!
diassemble:aMethod
@@ -90,7 +87,6 @@
"Created: / 22-03-2011 / 21:13:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
-
!JavaByteCodeDisassembler methodsFor:'disassembling'!
diassemble:aJavaMethod
@@ -118,7 +114,6 @@
"Modified: / 22-03-2011 / 15:59:50 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
! !
-
!JavaByteCodeDisassembler methodsFor:'helpers - constants'!
address
@@ -247,7 +242,6 @@
"Created: / 20-03-2011 / 18:31:56 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
! !
-
!JavaByteCodeDisassembler methodsFor:'helpers - instruction groups'!
arrayValueLoader
@@ -394,7 +388,6 @@
"Modified: / 21-03-2011 / 14:55:06 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
! !
-
!JavaByteCodeDisassembler methodsFor:'helpers - printing'!
prettyPrintArgs: argsString
@@ -462,12 +455,13 @@
prettyPrintLineNumber
|lineNumber|
- lineNumber := method quickLineNumberForPC: instrPointer.
+ lineNumber := method lineNumberForPC0: instrPointer.
lineNumber isNil ifTrue: [^''].
^ (lineNumber printString leftPaddedTo: 4
with: Character space)
"Modified: / 22-03-2011 / 17:04:16 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
+ "Modified: / 11-09-2013 / 03:42:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
prettyPrintLookupSwitchMadness
@@ -612,7 +606,6 @@
"Created: / 22-03-2011 / 20:53:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
-
!JavaByteCodeDisassembler methodsFor:'initialization'!
initialize
@@ -629,7 +622,6 @@
"Modified: / 22-03-2011 / 20:53:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
-
!JavaByteCodeDisassembler methodsFor:'instructions'!
aaload
@@ -1830,7 +1822,6 @@
"Modified: / 20-03-2011 / 21:48:20 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
! !
-
!JavaByteCodeDisassembler methodsFor:'processing loop'!
handleAbstractMethod
@@ -1850,14 +1841,14 @@
| lno |
"bytecode positions in line number table starts with 0, not 1"
- lno := method quickLineNumberForPC: instrPointer - 1.
+ lno := method lineNumberForPC0: instrPointer - 1.
lastLno ~~ lno ifTrue:[self writeLine: (lastLno := lno)].
^super switch: opcode
"Created: / 22-03-2011 / 20:57:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 11-09-2013 / 03:22:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
-
!JavaByteCodeDisassembler class methodsFor:'documentation'!
version_CVS