equal
deleted
inserted
replaced
17 of one of the above copright owners. For exact set of such code, |
17 of one of the above copright owners. For exact set of such code, |
18 see the differences between this version and version stx:libjava |
18 see the differences between this version and version stx:libjava |
19 as of 1.9.2010 |
19 as of 1.9.2010 |
20 " |
20 " |
21 "{ Package: 'stx:libjava' }" |
21 "{ Package: 'stx:libjava' }" |
|
22 |
|
23 "{ NameSpace: Smalltalk }" |
22 |
24 |
23 Object subclass:#JavaByteCodeProcessor |
25 Object subclass:#JavaByteCodeProcessor |
24 instanceVariableNames:'byteCode pc method constantPool context receiver sp retVal |
26 instanceVariableNames:'byteCode pc method constantPool context receiver sp retVal |
25 instrPointer op wide numArgs numVars leaveProcessor' |
27 instrPointer op wide numArgs numVars leaveProcessor' |
26 classVariableNames:'OpSwitchTable Verbose' |
28 classVariableNames:'OpSwitchTable Verbose' |
268 OpSwitchTable at: 1 + 181 put: #putfield. |
270 OpSwitchTable at: 1 + 181 put: #putfield. |
269 OpSwitchTable at: 1 + 182 put: #invvirt. |
271 OpSwitchTable at: 1 + 182 put: #invvirt. |
270 OpSwitchTable at: 1 + 183 put: #invnonvirt. |
272 OpSwitchTable at: 1 + 183 put: #invnonvirt. |
271 OpSwitchTable at: 1 + 184 put: #invstatic. |
273 OpSwitchTable at: 1 + 184 put: #invstatic. |
272 OpSwitchTable at: 1 + 185 put: #invinterface. |
274 OpSwitchTable at: 1 + 185 put: #invinterface. |
|
275 OpSwitchTable at: 1 + 186 put: #invdynamic. |
273 OpSwitchTable at: 1 + 187 put: #new. |
276 OpSwitchTable at: 1 + 187 put: #new. |
274 OpSwitchTable at: 1 + 188 put: #newarray. |
277 OpSwitchTable at: 1 + 188 put: #newarray. |
275 OpSwitchTable at: 1 + 189 put: #anewarray. |
278 OpSwitchTable at: 1 + 189 put: #anewarray. |
276 OpSwitchTable at: 1 + 190 put: #arraylength. |
279 OpSwitchTable at: 1 + 190 put: #arraylength. |
277 OpSwitchTable at: 1 + 191 put: #athrow. |
280 OpSwitchTable at: 1 + 191 put: #athrow. |
292 " |
295 " |
293 self initialize" |
296 self initialize" |
294 |
297 |
295 "Created: / 17-03-2011 / 14:56:13 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
298 "Created: / 17-03-2011 / 14:56:13 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
296 "Modified: / 17-03-2011 / 16:43:17 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
299 "Modified: / 17-03-2011 / 16:43:17 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
297 "Modified: / 21-03-2011 / 20:23:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
300 "Modified: / 25-02-2015 / 19:35:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
298 ! ! |
301 ! ! |
299 |
302 |
300 !JavaByteCodeProcessor class methodsFor:'accessing'! |
303 !JavaByteCodeProcessor class methodsFor:'accessing'! |
301 |
304 |
302 verbose: bool |
305 verbose: bool |
1617 "raise an error: must be redefined in concrete subclass(es)" |
1620 "raise an error: must be redefined in concrete subclass(es)" |
1618 |
1621 |
1619 ^ self subclassResponsibility |
1622 ^ self subclassResponsibility |
1620 |
1623 |
1621 "Created: / 17-03-2011 / 16:51:13 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
1624 "Created: / 17-03-2011 / 16:51:13 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
1625 ! |
|
1626 |
|
1627 invdynamic |
|
1628 "raise an error: must be redefined in concrete subclass(es)" |
|
1629 |
|
1630 ^ self subclassResponsibility |
|
1631 |
|
1632 "Created: / 25-02-2015 / 19:35:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1622 ! |
1633 ! |
1623 |
1634 |
1624 invinterface |
1635 invinterface |
1625 "raise an error: must be redefined in concrete subclass(es)" |
1636 "raise an error: must be redefined in concrete subclass(es)" |
1626 |
1637 |