JavaByteCodeProcessor.st
author Claus Gittinger <cg@exept.de>
Wed, 26 Jun 2019 22:06:15 +0200
branchcvs_MAIN
changeset 3917 94088b7097d5
parent 3431 82790b1e6d54
child 3536 7b39de8ba5ff
permissions -rw-r--r--
#OTHER by cg +bracketStrings
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3385
58d72cc6d5f6 Replaced old-style `'string' infoPrintCR` logging with new-style `Logger log:'string'` logging
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3383
diff changeset
     1
"{ Encoding: utf8 }"
58d72cc6d5f6 Replaced old-style `'string' infoPrintCR` logging with new-style `Logger log:'string'` logging
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3383
diff changeset
     2
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
     3
"
3324
a58245c0e83a Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3196
diff changeset
     4
 COPYRIGHT (c) 1996-2015 by Claus Gittinger
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
     5
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
     6
 New code and modifications done at SWING Research Group [1]:
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
     7
3324
a58245c0e83a Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3196
diff changeset
     8
 COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
     9
                            SWING Research Group, Czech Technical University in Prague
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    10
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    11
 This software is furnished under a license and may be used
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    12
 only in accordance with the terms of that license and with the
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    13
 inclusion of the above copyright notice.   This software may not
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    14
 be provided or otherwise made available to, or used by, any
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    15
 other person.  No title to or ownership of the software is
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    16
 hereby transferred.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    17
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
    18
 [1] Code written at SWING Research Group contains a signature
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
    19
     of one of the above copright owners. For exact set of such code,
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
    20
     see the differences between this version and version stx:libjava
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
    21
     as of 1.9.2010
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    22
"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    23
"{ Package: 'stx:libjava' }"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    24
3383
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
    25
"{ NameSpace: Smalltalk }"
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
    26
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    27
Object subclass:#JavaByteCodeProcessor
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    28
	instanceVariableNames:'byteCode pc method constantPool context receiver sp retVal
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    29
		instrPointer op wide numArgs numVars leaveProcessor'
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    30
	classVariableNames:'OpSwitchTable Verbose'
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    31
	poolDictionaries:''
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    32
	category:'Languages-Java-Bytecode'
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    33
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    34
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    35
!JavaByteCodeProcessor class methodsFor:'documentation'!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    36
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    37
copyright
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    38
"
3324
a58245c0e83a Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3196
diff changeset
    39
 COPYRIGHT (c) 1996-2015 by Claus Gittinger
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
    40
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
    41
 New code and modifications done at SWING Research Group [1]:
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
    42
3324
a58245c0e83a Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3196
diff changeset
    43
 COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    44
                            SWING Research Group, Czech Technical University in Prague
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    45
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    46
 This software is furnished under a license and may be used
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    47
 only in accordance with the terms of that license and with the
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    48
 inclusion of the above copyright notice.   This software may not
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    49
 be provided or otherwise made available to, or used by, any
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    50
 other person.  No title to or ownership of the software is
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    51
 hereby transferred.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    52
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
    53
 [1] Code written at SWING Research Group contains a signature
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
    54
     of one of the above copright owners. For exact set of such code,
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
    55
     see the differences between this version and version stx:libjava
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
    56
     as of 1.9.2010
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    57
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    58
"
2678
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    59
!
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    60
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    61
documentation
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    62
"
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    63
    Basic class to process Java bytecode. Subclasses must implement
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    64
    all callback methods that handle individual instructions.
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    65
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    66
    Subclass `JavaByteCodeProcessorAdaptor` if you want to so somethinf
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    67
    special for some instructions and don't need to bother with rest
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    68
    of them.
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    69
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    70
    [author:]
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    71
        Jan Vrany <jan.vrany@fit.cvut.cz>
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    72
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    73
    [instance variables:]
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    74
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    75
    [class variables:]
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    76
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    77
    [see also:]
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    78
        JavaByteCodeProcessorAdaptor
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    79
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
    80
    [see also:]
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
    81
        JavaByteCodeProcessorAdaptor
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
    82
2678
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    83
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2396
diff changeset
    84
"
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    85
! !
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    86
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    87
!JavaByteCodeProcessor class methodsFor:'initialization'!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    88
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    89
initialize
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    90
    OpSwitchTable := Array new: 256.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    91
    OpSwitchTable at: 1 + 0 put: #nop.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    92
    OpSwitchTable at: 1 + 1 put: #'aconst_null'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    93
    OpSwitchTable at: 1 + 2 put: #'iconst_m1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    94
    OpSwitchTable at: 1 + 3 put: #'iconst_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    95
    OpSwitchTable at: 1 + 4 put: #'iconst_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    96
    OpSwitchTable at: 1 + 5 put: #'iconst_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    97
    OpSwitchTable at: 1 + 6 put: #'iconst_3'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    98
    OpSwitchTable at: 1 + 7 put: #'iconst_4'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    99
    OpSwitchTable at: 1 + 8 put: #'iconst_5'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   100
    OpSwitchTable at: 1 + 9 put: #'lconst_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   101
    OpSwitchTable at: 1 + 10 put: #'lconst_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   102
    OpSwitchTable at: 1 + 11 put: #'fconst_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   103
    OpSwitchTable at: 1 + 12 put: #'fconst_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   104
    OpSwitchTable at: 1 + 13 put: #'fconst_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   105
    OpSwitchTable at: 1 + 14 put: #'dconst_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   106
    OpSwitchTable at: 1 + 15 put: #'dconst_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   107
    OpSwitchTable at: 1 + 16 put: #bipush.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   108
    OpSwitchTable at: 1 + 17 put: #sipush.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   109
    OpSwitchTable at: 1 + 18 put: #ldc1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   110
    OpSwitchTable at: 1 + 19 put: #ldc2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   111
    OpSwitchTable at: 1 + 20 put: #ldc2w.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   112
    OpSwitchTable at: 1 + 21 put: #iload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   113
    OpSwitchTable at: 1 + 22 put: #lload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   114
    OpSwitchTable at: 1 + 23 put: #fload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   115
    OpSwitchTable at: 1 + 24 put: #dload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   116
    OpSwitchTable at: 1 + 25 put: #aload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   117
    OpSwitchTable at: 1 + 26 put: #'iload_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   118
    OpSwitchTable at: 1 + 27 put: #'iload_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   119
    OpSwitchTable at: 1 + 28 put: #'iload_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   120
    OpSwitchTable at: 1 + 29 put: #'iload_3'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   121
    OpSwitchTable at: 1 + 30 put: #'lload_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   122
    OpSwitchTable at: 1 + 31 put: #'lload_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   123
    OpSwitchTable at: 1 + 32 put: #'lload_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   124
    OpSwitchTable at: 1 + 33 put: #'lload_3'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   125
    OpSwitchTable at: 1 + 34 put: #'fload_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   126
    OpSwitchTable at: 1 + 35 put: #'fload_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   127
    OpSwitchTable at: 1 + 36 put: #'fload_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   128
    OpSwitchTable at: 1 + 37 put: #'fload_3'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   129
    OpSwitchTable at: 1 + 38 put: #'dload_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   130
    OpSwitchTable at: 1 + 39 put: #'dload_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   131
    OpSwitchTable at: 1 + 40 put: #'dload_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   132
    OpSwitchTable at: 1 + 41 put: #'dload_3'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   133
    OpSwitchTable at: 1 + 42 put: #'aload_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   134
    OpSwitchTable at: 1 + 43 put: #'aload_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   135
    OpSwitchTable at: 1 + 44 put: #'aload_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   136
    OpSwitchTable at: 1 + 45 put: #'aload_3'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   137
    OpSwitchTable at: 1 + 46 put: #iaload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   138
    OpSwitchTable at: 1 + 47 put: #laload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   139
    OpSwitchTable at: 1 + 48 put: #faload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   140
    OpSwitchTable at: 1 + 49 put: #daload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   141
    OpSwitchTable at: 1 + 50 put: #aaload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   142
    OpSwitchTable at: 1 + 51 put: #baload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   143
    OpSwitchTable at: 1 + 52 put: #caload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   144
    OpSwitchTable at: 1 + 53 put: #saload.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   145
    OpSwitchTable at: 1 + 54 put: #istore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   146
    OpSwitchTable at: 1 + 55 put: #lstore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   147
    OpSwitchTable at: 1 + 56 put: #fstore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   148
    OpSwitchTable at: 1 + 57 put: #dstore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   149
    OpSwitchTable at: 1 + 58 put: #astore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   150
    OpSwitchTable at: 1 + 59 put: #'istore_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   151
    OpSwitchTable at: 1 + 60 put: #'istore_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   152
    OpSwitchTable at: 1 + 61 put: #'istore_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   153
    OpSwitchTable at: 1 + 62 put: #'istore_3'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   154
    OpSwitchTable at: 1 + 63 put: #'lstore_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   155
    OpSwitchTable at: 1 + 64 put: #'lstore_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   156
    OpSwitchTable at: 1 + 65 put: #'lstore_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   157
    OpSwitchTable at: 1 + 66 put: #'lstore_3'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   158
    OpSwitchTable at: 1 + 67 put: #'fstore_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   159
    OpSwitchTable at: 1 + 68 put: #'fstore_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   160
    OpSwitchTable at: 1 + 69 put: #'fstore_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   161
    OpSwitchTable at: 1 + 70 put: #'fstore_3'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   162
    OpSwitchTable at: 1 + 71 put: #'dstore_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   163
    OpSwitchTable at: 1 + 72 put: #'dstore_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   164
    OpSwitchTable at: 1 + 73 put: #'dstore_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   165
    OpSwitchTable at: 1 + 74 put: #'dstore_3'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   166
    OpSwitchTable at: 1 + 75 put: #'astore_0'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   167
    OpSwitchTable at: 1 + 76 put: #'astore_1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   168
    OpSwitchTable at: 1 + 77 put: #'astore_2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   169
    OpSwitchTable at: 1 + 78 put: #'astore_3'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   170
    OpSwitchTable at: 1 + 79 put: #iastore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   171
    OpSwitchTable at: 1 + 80 put: #lastore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   172
    OpSwitchTable at: 1 + 81 put: #fastore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   173
    OpSwitchTable at: 1 + 82 put: #dastore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   174
    OpSwitchTable at: 1 + 83 put: #aastore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   175
    OpSwitchTable at: 1 + 84 put: #bastore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   176
    OpSwitchTable at: 1 + 85 put: #castore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   177
    OpSwitchTable at: 1 + 86 put: #sastore.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   178
    OpSwitchTable at: 1 + 87 put: #pop1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   179
    OpSwitchTable at: 1 + 88 put: #pop2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   180
    OpSwitchTable at: 1 + 89 put: #dup.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   181
    OpSwitchTable at: 1 + 90 put: #'dup_x1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   182
    OpSwitchTable at: 1 + 91 put: #'dup_x2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   183
    OpSwitchTable at: 1 + 92 put: #dup2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   184
    OpSwitchTable at: 1 + 93 put: #'dup2_x1'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   185
    OpSwitchTable at: 1 + 94 put: #'dup2_x2'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   186
    OpSwitchTable at: 1 + 95 put: #swap.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   187
    OpSwitchTable at: 1 + 96 put: #iadd.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   188
    OpSwitchTable at: 1 + 97 put: #ladd.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   189
    OpSwitchTable at: 1 + 98 put: #fadd.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   190
    OpSwitchTable at: 1 + 99 put: #dadd.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   191
    OpSwitchTable at: 1 + 100 put: #isub.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   192
    OpSwitchTable at: 1 + 101 put: #lsub.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   193
    OpSwitchTable at: 1 + 102 put: #fsub.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   194
    OpSwitchTable at: 1 + 103 put: #dsub.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   195
    OpSwitchTable at: 1 + 104 put: #imul.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   196
    OpSwitchTable at: 1 + 105 put: #lmul.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   197
    OpSwitchTable at: 1 + 106 put: #fmul.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   198
    OpSwitchTable at: 1 + 107 put: #dmul.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   199
    OpSwitchTable at: 1 + 108 put: #idiv.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   200
    OpSwitchTable at: 1 + 109 put: #ldiv.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   201
    OpSwitchTable at: 1 + 110 put: #fdiv.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   202
    OpSwitchTable at: 1 + 111 put: #ddiv.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   203
    OpSwitchTable at: 1 + 112 put: #irem.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   204
    OpSwitchTable at: 1 + 113 put: #lrem.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   205
    OpSwitchTable at: 1 + 114 put: #frem.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   206
    OpSwitchTable at: 1 + 115 put: #drem.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   207
    OpSwitchTable at: 1 + 116 put: #ineg.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   208
    OpSwitchTable at: 1 + 117 put: #lneg.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   209
    OpSwitchTable at: 1 + 118 put: #fneg.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   210
    OpSwitchTable at: 1 + 119 put: #dneg.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   211
    OpSwitchTable at: 1 + 120 put: #ishl.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   212
    OpSwitchTable at: 1 + 121 put: #lshl.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   213
    OpSwitchTable at: 1 + 122 put: #ishr.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   214
    OpSwitchTable at: 1 + 123 put: #lshr.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   215
    OpSwitchTable at: 1 + 124 put: #iushr.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   216
    OpSwitchTable at: 1 + 125 put: #lushr.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   217
    OpSwitchTable at: 1 + 126 put: #iand.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   218
    OpSwitchTable at: 1 + 127 put: #land.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   219
    OpSwitchTable at: 1 + 128 put: #ior.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   220
    OpSwitchTable at: 1 + 129 put: #lor.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   221
    OpSwitchTable at: 1 + 130 put: #ixor.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   222
    OpSwitchTable at: 1 + 131 put: #lxor.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   223
    OpSwitchTable at: 1 + 132 put: #iinc.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   224
    OpSwitchTable at: 1 + 133 put: #i2l.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   225
    OpSwitchTable at: 1 + 134 put: #i2f.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   226
    OpSwitchTable at: 1 + 135 put: #i2d.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   227
    OpSwitchTable at: 1 + 136 put: #l2i.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   228
    OpSwitchTable at: 1 + 137 put: #l2f.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   229
    OpSwitchTable at: 1 + 138 put: #l2d.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   230
    OpSwitchTable at: 1 + 139 put: #f2i.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   231
    OpSwitchTable at: 1 + 140 put: #f2l.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   232
    OpSwitchTable at: 1 + 141 put: #f2d.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   233
    OpSwitchTable at: 1 + 142 put: #d2i.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   234
    OpSwitchTable at: 1 + 143 put: #d2l.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   235
    OpSwitchTable at: 1 + 144 put: #d2f.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   236
    OpSwitchTable at: 1 + 145 put: #int2byte.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   237
    OpSwitchTable at: 1 + 146 put: #int2char.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   238
    OpSwitchTable at: 1 + 147 put: #int2short.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   239
    OpSwitchTable at: 1 + 148 put: #lcmp.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   240
    OpSwitchTable at: 1 + 149 put: #fcmpl.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   241
    OpSwitchTable at: 1 + 150 put: #fcmpg.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   242
    OpSwitchTable at: 1 + 151 put: #dcmpl.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   243
    OpSwitchTable at: 1 + 152 put: #dcmpg.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   244
    OpSwitchTable at: 1 + 153 put: #ifeq.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   245
    OpSwitchTable at: 1 + 154 put: #ifne.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   246
    OpSwitchTable at: 1 + 155 put: #iflt.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   247
    OpSwitchTable at: 1 + 156 put: #ifge.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   248
    OpSwitchTable at: 1 + 157 put: #ifgt.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   249
    OpSwitchTable at: 1 + 158 put: #ifle.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   250
    OpSwitchTable at: 1 + 159 put: #ificmpeq.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   251
    OpSwitchTable at: 1 + 160 put: #ificmpne.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   252
    OpSwitchTable at: 1 + 161 put: #ificmplt.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   253
    OpSwitchTable at: 1 + 162 put: #ificmpge.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   254
    OpSwitchTable at: 1 + 163 put: #ificmpgt.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   255
    OpSwitchTable at: 1 + 164 put: #ificmple.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   256
    OpSwitchTable at: 1 + 165 put: #ifacmpeq.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   257
    OpSwitchTable at: 1 + 166 put: #ifacmpne.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   258
    OpSwitchTable at: 1 + 167 put: #goto.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   259
    OpSwitchTable at: 1 + 168 put: #jsr.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   260
    OpSwitchTable at: 1 + 169 put: #ret.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   261
    OpSwitchTable at: 1 + 170 put: #tableswtch.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   262
    OpSwitchTable at: 1 + 171 put: #lookupswtch.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   263
    OpSwitchTable at: 1 + 172 put: #ireturn.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   264
    OpSwitchTable at: 1 + 173 put: #lreturn.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   265
    OpSwitchTable at: 1 + 174 put: #freturn.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   266
    OpSwitchTable at: 1 + 175 put: #dreturn.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   267
    OpSwitchTable at: 1 + 176 put: #areturn.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   268
    OpSwitchTable at: 1 + 177 put: #return.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   269
    OpSwitchTable at: 1 + 178 put: #getstatic.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   270
    OpSwitchTable at: 1 + 179 put: #putstatic.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   271
    OpSwitchTable at: 1 + 180 put: #getfield.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   272
    OpSwitchTable at: 1 + 181 put: #putfield.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   273
    OpSwitchTable at: 1 + 182 put: #invvirt.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   274
    OpSwitchTable at: 1 + 183 put: #invnonvirt.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   275
    OpSwitchTable at: 1 + 184 put: #invstatic.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   276
    OpSwitchTable at: 1 + 185 put: #invinterface.
3383
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
   277
    OpSwitchTable at: 1 + 186 put: #invdynamic.    
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   278
    OpSwitchTable at: 1 + 187 put: #new.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   279
    OpSwitchTable at: 1 + 188 put: #newarray.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   280
    OpSwitchTable at: 1 + 189 put: #anewarray.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   281
    OpSwitchTable at: 1 + 190 put: #arraylength.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   282
    OpSwitchTable at: 1 + 191 put: #athrow.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   283
    OpSwitchTable at: 1 + 192 put: #checkcast.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   284
    OpSwitchTable at: 1 + 193 put: #instanceof.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   285
    OpSwitchTable at: 1 + 194 put: #monenter.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   286
    OpSwitchTable at: 1 + 195 put: #monexit.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   287
    OpSwitchTable at: 1 + 196 put: #wide.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   288
    OpSwitchTable at: 1 + 197 put: #multianewarray.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   289
    OpSwitchTable at: 1 + 198 put: #ifnull.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   290
    OpSwitchTable at: 1 + 199 put: #ifnonnull.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   291
    OpSwitchTable at: 1 + 200 put: #'goto_w'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   292
    OpSwitchTable at: 1 + 201 put: #'jsr_w'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   293
    OpSwitchTable at: 1 + 202 put: #breakpoint.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   294
    OpSwitchTable at: 1 + 203 put: #'ret_w'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   295
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   296
    Verbose := false.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   297
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   298
     self initialize"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   299
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   300
    "Created: / 17-03-2011 / 14:56:13 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   301
    "Modified: / 17-03-2011 / 16:43:17 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
3383
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
   302
    "Modified: / 25-02-2015 / 19:35:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   303
! !
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   304
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   305
!JavaByteCodeProcessor class methodsFor:'accessing'!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   306
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   307
verbose: bool
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   308
Verbose := bool.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   309
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   310
    "Created: / 21-03-2011 / 18:32:37 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   311
! !
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   312
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   313
!JavaByteCodeProcessor class methodsFor:'private-logging'!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   314
3385
58d72cc6d5f6 Replaced old-style `'string' infoPrintCR` logging with new-style `Logger log:'string'` logging
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3383
diff changeset
   315
log: aString 
58d72cc6d5f6 Replaced old-style `'string' infoPrintCR` logging with new-style `Logger log:'string'` logging
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3383
diff changeset
   316
    Verbose ifTrue: [
58d72cc6d5f6 Replaced old-style `'string' infoPrintCR` logging with new-style `Logger log:'string'` logging
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3383
diff changeset
   317
        Logger log: aString severity: Logger severityDEBUG facility: #JVM
58d72cc6d5f6 Replaced old-style `'string' infoPrintCR` logging with new-style `Logger log:'string'` logging
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3383
diff changeset
   318
    ]
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   319
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   320
    "Created: / 17-03-2011 / 14:59:24 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   321
! !
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   322
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   323
!JavaByteCodeProcessor methodsFor:'initialization'!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   324
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   325
reset
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   326
    pc := method startPC.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   327
    byteCode := method byteCode.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   328
    constantPool := method javaClass constantPool.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   329
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   330
    "Modified: / 17-03-2011 / 14:53:03 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   331
! !
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   332
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   333
!JavaByteCodeProcessor methodsFor:'instructions'!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   334
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   335
aaload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   336
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   337
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   338
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   339
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   340
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   341
aastore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   342
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   343
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   344
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   345
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   346
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   347
aconst_null
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   348
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   349
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   350
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   351
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   352
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   353
aload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   354
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   355
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   356
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   357
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   358
    "Created: / 17-03-2011 / 15:07:27 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   359
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   360
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   361
aload: arg 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   362
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   363
     Load reference from local variable 0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   364
     nothing -> objectRef"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   365
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   366
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   367
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   368
 "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   369
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   370
     The <n> must be an index into the local variable array of the
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   371
     current frame (3.6). The local variable at <n> must contain a
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   372
     reference. The objectref in the local variable at index is pushed
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   373
     onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   374
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   375
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   376
     An aload_<n> instruction cannot be used to load a value of type
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   377
     returnAddress from a local variable onto the operand stack. This
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   378
     asymmetry with the corresponding astore_<n> instruction is intentional.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   379
     Each of the aload_<n> instructions is the same as aload with an index
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   380
     of <n>, except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   381
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   382
    "Modified: / 17-03-2011 / 15:26:53 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   383
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   384
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   385
aload_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   386
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   387
     Load reference from local variable 0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   388
     nothing -> objectRef"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   389
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   390
    self aload: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   391
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   392
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   393
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   394
     The <n> must be an index into the local variable array of the
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   395
     current frame (3.6). The local variable at <n> must contain a
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   396
     reference. The objectref in the local variable at index is pushed
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   397
     onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   398
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   399
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   400
     An aload_<n> instruction cannot be used to load a value of type
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   401
     returnAddress from a local variable onto the operand stack. This
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   402
     asymmetry with the corresponding astore_<n> instruction is intentional.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   403
     Each of the aload_<n> instructions is the same as aload with an index
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   404
     of <n>, except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   405
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   406
    "Created: / 10-03-2011 / 21:42:22 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   407
    "Modified: / 13-03-2011 / 16:56:04 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   408
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   409
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   410
aload_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   411
    self aload: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   412
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   413
    "Created: / 10-03-2011 / 21:42:27 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   414
    "Modified: / 13-03-2011 / 16:56:20 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   415
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   416
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   417
aload_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   418
    self aload: 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   419
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   420
    "Created: / 10-03-2011 / 21:42:31 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   421
    "Modified: / 13-03-2011 / 16:56:16 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   422
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   423
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   424
aload_3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   425
    self aload: 3.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   426
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   427
    "Created: / 10-03-2011 / 21:43:07 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   428
    "Modified: / 13-03-2011 / 16:56:24 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   429
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   430
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   431
anewarray
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   432
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   433
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   434
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   435
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   436
    "Created: / 17-03-2011 / 16:57:13 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   437
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   438
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   439
areturn
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   440
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   441
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   442
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   443
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   444
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   445
arraylength
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   446
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   447
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   448
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   449
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   450
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   451
astore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   452
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   453
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   454
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   455
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   456
    "Created: / 17-03-2011 / 16:37:49 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   457
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   458
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   459
astore:arg
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   460
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   461
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   462
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   463
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   464
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   465
astore_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   466
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   467
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   468
    ^self astore: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   469
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   470
    "Created: / 17-03-2011 / 16:39:06 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   471
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   472
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   473
astore_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   474
    ^ self astore: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   475
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   476
    "Created: / 17-03-2011 / 16:39:10 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   477
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   478
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   479
astore_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   480
    ^ self astore: 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   481
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   482
    "Created: / 17-03-2011 / 16:39:13 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   483
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   484
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   485
astore_3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   486
    ^ self astore: 3.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   487
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   488
    "Created: / 17-03-2011 / 16:39:16 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   489
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   490
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   491
athrow
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   492
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   493
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   494
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   495
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   496
    "Created: / 17-03-2011 / 16:57:25 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   497
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   498
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   499
baload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   500
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   501
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   502
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   503
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   504
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   505
bastore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   506
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   507
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   508
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   509
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   510
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   511
bipush
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   512
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   513
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   514
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   515
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   516
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   517
breakpoint
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   518
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   519
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   520
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   521
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   522
    "Created: / 17-03-2011 / 16:59:04 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   523
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   524
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   525
caload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   526
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   527
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   528
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   529
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   530
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   531
castore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   532
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   533
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   534
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   535
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   536
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   537
checkcast
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   538
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   539
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   540
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   541
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   542
    "Created: / 17-03-2011 / 16:57:39 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   543
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   544
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   545
d2f
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   546
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   547
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   548
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   549
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   550
    "Created: / 17-03-2011 / 16:50:50 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   551
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   552
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   553
d2i
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   554
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   555
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   556
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   557
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   558
    "Created: / 17-03-2011 / 16:50:42 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   559
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   560
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   561
d2l
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   562
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   563
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   564
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   565
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   566
    "Created: / 17-03-2011 / 16:50:46 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   567
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   568
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   569
dadd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   570
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   571
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   572
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   573
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   574
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   575
daload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   576
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   577
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   578
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   579
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   580
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   581
dastore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   582
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   583
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   584
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   585
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   586
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   587
dcmpg
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   588
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   589
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   590
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   591
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   592
    "Created: / 17-03-2011 / 16:52:17 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   593
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   594
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   595
dcmpl
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   596
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   597
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   598
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   599
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   600
    "Created: / 17-03-2011 / 16:52:11 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   601
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   602
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   603
dconst: arg 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   604
    "Push the double constant <d> (0.0 or 1.0) onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   605
     stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   606
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   607
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   608
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   609
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   610
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   611
    "Modified: / 17-03-2011 / 15:27:29 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   612
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   613
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   614
dconst_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   615
"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   616
Push the double constant <d> (0.0 or 1.0) onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   617
stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   618
args: nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   619
"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   620
    self dconst: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   621
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   622
    "Created: / 14-03-2011 / 18:02:36 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   623
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   624
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   625
dconst_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   626
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   627
     Push the double constant <d> (0.0 or 1.0) onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   628
     stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   629
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   630
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   631
    self dconst: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   632
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   633
    "Created: / 14-03-2011 / 18:03:26 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   634
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   635
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   636
ddiv
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   637
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   638
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   639
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   640
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   641
    "Created: / 17-03-2011 / 16:46:25 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   642
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   643
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   644
dload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   645
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   646
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   647
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   648
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   649
    "Created: / 17-03-2011 / 15:07:14 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   650
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   651
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   652
dload: arg 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   653
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   654
     Load double from local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   655
     stack: nothing -> value
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   656
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   657
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   658
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   659
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   660
   "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   661
     Description
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   662
     Both <n> and <n> + 1 must be indices into the local variable array of the current frame (3.6).
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   663
     The local variable at <n> must contain a double. The value of the local variable at <n> is pushed
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   664
     onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   665
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   666
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   667
     Each of the dload_<n> instructions is the same as dload with an index of <n>, except that the
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   668
     operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   669
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   670
    "Modified: / 17-03-2011 / 15:26:26 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   671
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   672
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   673
dload_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   674
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   675
     Load double from local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   676
     stack: nothing -> value
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   677
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   678
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   679
    self dload: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   680
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   681
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   682
     Description
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   683
     Both <n> and <n> + 1 must be indices into the local variable array of the current frame (3.6).
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   684
     The local variable at <n> must contain a double. The value of the local variable at <n> is pushed
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   685
     onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   686
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   687
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   688
     Each of the dload_<n> instructions is the same as dload with an index of <n>, except that the
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   689
     operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   690
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   691
    "Created: / 13-03-2011 / 17:55:29 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   692
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   693
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   694
dload_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   695
    self dload: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   696
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   697
    "Created: / 13-03-2011 / 17:55:33 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   698
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   699
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   700
dload_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   701
    self dload: 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   702
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   703
    "Created: / 13-03-2011 / 17:55:41 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   704
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   705
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   706
dload_3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   707
    self dload: 3.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   708
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   709
    "Created: / 13-03-2011 / 17:55:45 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   710
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   711
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   712
dmul
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   713
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   714
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   715
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   716
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   717
    "Created: / 17-03-2011 / 16:46:01 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   718
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   719
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   720
dneg
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   721
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   722
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   723
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   724
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   725
    "Created: / 17-03-2011 / 16:47:42 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   726
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   727
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   728
drem
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   729
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   730
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   731
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   732
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   733
    "Created: / 17-03-2011 / 16:47:05 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   734
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   735
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   736
dreturn
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   737
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   738
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   739
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   740
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   741
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   742
dstore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   743
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   744
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   745
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   746
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   747
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   748
dstore: arg 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   749
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   750
     Store double into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   751
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   752
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   753
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   754
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   755
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   756
"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   757
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   758
     Both <n> and <n> + 1 must be indices into the local variable array of the
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   759
     current frame (3.6). The value on the top of the operand stack must be of
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   760
     type double. It is popped from the operand stack and undergoes value set
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   761
     conversion (3.8.3), resulting in value'. The local variables at <n> and
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   762
     <n> + 1 are set to value'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   763
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   764
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   765
     Each of the dstore_<n> instructions is the same as dstore with an index
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   766
     of <n>, except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   767
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   768
    "Modified: / 17-03-2011 / 15:28:07 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   769
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   770
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   771
dstore_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   772
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   773
     Store double into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   774
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   775
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   776
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   777
    self dstore: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   778
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   779
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   780
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   781
     Both <n> and <n> + 1 must be indices into the local variable array of the
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   782
     current frame (3.6). The value on the top of the operand stack must be of
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   783
     type double. It is popped from the operand stack and undergoes value set
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   784
     conversion (3.8.3), resulting in value'. The local variables at <n> and
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   785
     <n> + 1 are set to value'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   786
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   787
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   788
     Each of the dstore_<n> instructions is the same as dstore with an index
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   789
     of <n>, except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   790
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   791
    "Created: / 14-03-2011 / 19:04:44 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   792
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   793
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   794
dstore_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   795
"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   796
Store double into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   797
stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   798
args: nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   799
" 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   800
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   801
self dstore: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   802
"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   803
Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   804
Both <n> and <n> + 1 must be indices into the local variable array of the 
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   805
current frame (3.6). The value on the top of the operand stack must be of 
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   806
type double. It is popped from the operand stack and undergoes value set 
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   807
conversion (3.8.3), resulting in value'. The local variables at <n> and 
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   808
<n> + 1 are set to value'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   809
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   810
Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   811
Each of the dstore_<n> instructions is the same as dstore with an index 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   812
of <n>, except that the operand <n> is implicit.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   813
"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   814
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   815
    "Created: / 14-03-2011 / 19:04:39 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   816
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   817
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   818
dstore_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   819
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   820
     Store double into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   821
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   822
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   823
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   824
    self dstore: 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   825
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   826
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   827
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   828
     Both <n> and <n> + 1 must be indices into the local variable array of the
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   829
     current frame (3.6). The value on the top of the operand stack must be of
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   830
     type double. It is popped from the operand stack and undergoes value set
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   831
     conversion (3.8.3), resulting in value'. The local variables at <n> and
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   832
     <n> + 1 are set to value'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   833
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   834
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   835
     Each of the dstore_<n> instructions is the same as dstore with an index
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   836
     of <n>, except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   837
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   838
    "Created: / 14-03-2011 / 19:04:49 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   839
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   840
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   841
dstore_3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   842
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   843
     Store double into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   844
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   845
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   846
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   847
    self dstore: 3.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   848
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   849
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   850
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   851
     Both <n> and <n> + 1 must be indices into the local variable array of the
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   852
     current frame (3.6). The value on the top of the operand stack must be of
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   853
     type double. It is popped from the operand stack and undergoes value set
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
   854
     conversion (3.8.3), resulting in value'. The local variables at <n> and
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   855
     <n> + 1 are set to value'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   856
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   857
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   858
     Each of the dstore_<n> instructions is the same as dstore with an index
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   859
     of <n>, except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   860
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   861
    "Created: / 14-03-2011 / 19:04:54 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   862
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   863
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   864
dsub
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   865
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   866
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   867
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   868
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   869
    "Created: / 17-03-2011 / 16:45:33 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   870
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   871
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   872
dup
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   873
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   874
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   875
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   876
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   877
    "Created: / 17-03-2011 / 16:44:08 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   878
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   879
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   880
dup2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   881
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   882
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   883
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   884
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   885
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   886
dup2_x1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   887
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   888
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   889
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   890
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   891
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   892
dup2_x2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   893
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   894
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   895
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   896
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   897
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   898
dup_x1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   899
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   900
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   901
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   902
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   903
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   904
dup_x2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   905
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   906
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   907
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   908
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   909
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   910
f2d
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   911
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   912
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   913
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   914
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   915
    "Created: / 17-03-2011 / 16:50:35 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   916
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   917
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   918
f2i
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   919
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   920
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   921
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   922
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   923
    "Created: / 17-03-2011 / 16:50:26 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   924
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   925
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   926
f2l
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   927
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   928
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   929
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   930
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   931
    "Created: / 17-03-2011 / 16:50:31 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   932
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   933
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   934
fadd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   935
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   936
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   937
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   938
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   939
    "Created: / 17-03-2011 / 16:44:46 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   940
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   941
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   942
faload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   943
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   944
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   945
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   946
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   947
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   948
fastore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   949
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   950
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   951
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   952
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   953
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   954
fcmpg
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   955
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   956
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   957
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   958
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   959
    "Created: / 17-03-2011 / 16:52:00 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   960
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   961
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   962
fcmpl
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   963
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   964
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   965
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   966
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   967
    "Created: / 17-03-2011 / 16:51:41 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   968
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   969
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   970
fconst: arg 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   971
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   972
     Push float constant
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   973
     stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   974
     arg: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   975
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   976
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   977
    ^ self subclassResponsibility.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   978
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   979
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   980
         Push the float constant <f> (0.0, 1.0, or 2.0) onto the operand stack."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   981
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   982
    "Modified: / 17-03-2011 / 15:28:47 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   983
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   984
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   985
fconst_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   986
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   987
     Push float constant
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   988
     stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   989
     arg: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   990
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   991
    self fconst: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   992
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   993
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   994
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   995
     Push the float constant <f> (0.0, 1.0, or 2.0) onto the operand stack."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   996
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   997
    "Created: / 14-03-2011 / 17:56:55 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   998
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   999
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1000
fconst_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1001
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1002
     Push float constant
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1003
     stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1004
     arg: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1005
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1006
    self fconst: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1007
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1008
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1009
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1010
     Push the float constant <f> (0.0, 1.0, or 2.0) onto the operand stack."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1011
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1012
    "Created: / 14-03-2011 / 17:57:50 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1013
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1014
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1015
fconst_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1016
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1017
     Push float constant
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1018
     stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1019
     arg: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1020
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1021
    self fconst: 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1022
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1023
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1024
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1025
     Push the float constant <f> (0.0, 1.0, or 2.0) onto the operand stack."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1026
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1027
    "Created: / 14-03-2011 / 17:57:56 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1028
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1029
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1030
fdiv
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1031
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1032
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1033
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1034
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1035
    "Created: / 17-03-2011 / 16:46:20 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1036
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1037
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1038
fload 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1039
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1040
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1041
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1042
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1043
    "Created: / 17-03-2011 / 15:07:02 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1044
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1045
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1046
fload:arg
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1047
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1048
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1049
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1050
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1051
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1052
fload_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1053
    ^ self fload: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1054
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1055
    "Created: / 17-03-2011 / 16:34:59 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1056
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1057
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1058
fload_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1059
    ^ self fload: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1060
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1061
    "Created: / 17-03-2011 / 16:35:03 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1062
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1063
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1064
fload_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1065
    ^ self fload: 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1066
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1067
    "Created: / 17-03-2011 / 16:35:06 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1068
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1069
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1070
fload_3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1071
    ^ self fload: 3.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1072
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1073
    "Created: / 17-03-2011 / 16:35:11 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1074
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1075
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1076
fmul
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1077
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1078
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1079
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1080
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1081
    "Created: / 17-03-2011 / 16:45:57 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1082
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1083
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1084
fneg
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1085
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1086
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1087
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1088
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1089
    "Created: / 17-03-2011 / 16:47:40 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1090
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1091
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1092
frem
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1093
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1094
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1095
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1096
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1097
    "Created: / 17-03-2011 / 16:46:47 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1098
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1099
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1100
freturn
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1101
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1102
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1103
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1104
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1105
    "Created: / 17-03-2011 / 16:55:16 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1106
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1107
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1108
fstore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1109
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1110
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1111
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1112
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1113
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1114
fstore: arg 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1115
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1116
     Store float into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1117
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1118
         args: index"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1119
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1120
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1121
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1122
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1123
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1124
     The index is an unsigned byte that must be an index into the local
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1125
     variable array of the current frame (3.6). The value on the top of
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1126
     the operand stack must be of type float. It is popped from the operand
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1127
     stack and undergoes value set conversion (3.8.3), resulting in value'.
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1128
     The value of the local variable at index is set to value'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1129
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1130
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1131
     The fstore opcode can be used in conjunction with the wide instruction
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1132
         to access a local variable using a two-byte unsigned index."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1133
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1134
    "Modified: / 17-03-2011 / 15:29:22 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1135
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1136
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1137
fstore_0 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1138
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1139
     Store float into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1140
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1141
     args: index"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1142
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1143
    self fstore: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1144
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1145
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1146
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1147
     The index is an unsigned byte that must be an index into the local
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1148
     variable array of the current frame (3.6). The value on the top of
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1149
     the operand stack must be of type float. It is popped from the operand
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1150
     stack and undergoes value set conversion (3.8.3), resulting in value'.
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1151
     The value of the local variable at index is set to value'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1152
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1153
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1154
     The fstore opcode can be used in conjunction with the wide instruction
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1155
     to access a local variable using a two-byte unsigned index."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1156
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1157
    "Created: / 14-03-2011 / 17:59:42 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1158
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1159
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1160
fstore_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1161
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1162
     Store float into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1163
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1164
     args: index"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1165
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1166
    self fstore: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1167
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1168
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1169
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1170
     The index is an unsigned byte that must be an index into the local
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1171
     variable array of the current frame (3.6). The value on the top of
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1172
     the operand stack must be of type float. It is popped from the operand
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1173
     stack and undergoes value set conversion (3.8.3), resulting in value'.
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1174
     The value of the local variable at index is set to value'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1175
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1176
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1177
     The fstore opcode can be used in conjunction with the wide instruction
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1178
     to access a local variable using a two-byte unsigned index."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1179
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1180
    "Created: / 14-03-2011 / 17:59:49 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1181
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1182
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1183
fstore_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1184
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1185
     Store float into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1186
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1187
     args: index"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1188
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1189
    self fstore: 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1190
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1191
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1192
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1193
     The index is an unsigned byte that must be an index into the local
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1194
     variable array of the current frame (3.6). The value on the top of
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1195
     the operand stack must be of type float. It is popped from the operand
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1196
     stack and undergoes value set conversion (3.8.3), resulting in value'.
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1197
     The value of the local variable at index is set to value'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1198
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1199
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1200
     The fstore opcode can be used in conjunction with the wide instruction
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1201
     to access a local variable using a two-byte unsigned index."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1202
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1203
    "Created: / 14-03-2011 / 18:00:03 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1204
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1205
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1206
fstore_3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1207
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1208
     Store float into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1209
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1210
     args: index"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1211
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1212
    self fstore: 3.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1213
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1214
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1215
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1216
     The index is an unsigned byte that must be an index into the local
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1217
     variable array of the current frame (3.6). The value on the top of
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1218
     the operand stack must be of type float. It is popped from the operand
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1219
     stack and undergoes value set conversion (3.8.3), resulting in value'.
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1220
     The value of the local variable at index is set to value'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1221
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1222
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1223
     The fstore opcode can be used in conjunction with the wide instruction
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1224
     to access a local variable using a two-byte unsigned index."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1225
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1226
    "Created: / 14-03-2011 / 18:00:08 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1227
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1228
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1229
fsub
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1230
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1231
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1232
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1233
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1234
    "Created: / 17-03-2011 / 16:45:29 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1235
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1236
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1237
getfield
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1238
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1239
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1240
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1241
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1242
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1243
getstatic
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1244
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1245
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1246
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1247
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1248
    "Created: / 17-03-2011 / 16:55:41 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1249
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1250
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1251
goto
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1252
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1253
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1254
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1255
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1256
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1257
goto_w
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1258
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1259
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1260
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1261
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1262
    "Created: / 17-03-2011 / 16:58:54 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1263
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1264
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1265
i2d
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1266
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1267
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1268
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1269
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1270
    "Created: / 17-03-2011 / 16:50:02 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1271
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1272
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1273
i2f
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1274
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1275
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1276
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1277
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1278
    "Created: / 17-03-2011 / 16:49:57 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1279
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1280
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1281
i2l
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1282
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1283
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1284
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1285
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1286
    "Created: / 17-03-2011 / 16:49:52 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1287
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1288
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1289
i_dup
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1290
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1291
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1292
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1293
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1294
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1295
iadd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1296
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1297
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1298
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1299
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1300
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1301
iaload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1302
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1303
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1304
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1305
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1306
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1307
iand
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1308
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1309
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1310
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1311
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1312
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1313
iastore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1314
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1315
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1316
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1317
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1318
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1319
iconst: arg 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1320
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1321
     Push int constant
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1322
     stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1323
     arg: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1324
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1325
    self subclassResponsibility.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1326
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1327
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1328
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1329
     Push the int constant <i> (-1, 0, 1, 2, 3, 4 or 5) onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1330
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1331
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1332
     Each of this family of instructions is equivalent to bipush <i> for the
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1333
     respective value of <i>, except that the operand <i> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1334
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1335
    "Created: / 17-03-2011 / 15:29:48 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1336
    "Modified: / 20-03-2011 / 20:41:04 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1337
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1338
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1339
iconst_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1340
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1341
     Push int constant
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1342
     stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1343
     arg: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1344
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1345
    self iconst: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1346
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1347
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1348
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1349
     Push the int constant <i> (-1, 0, 1, 2, 3, 4 or 5) onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1350
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1351
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1352
     Each of this family of instructions is equivalent to bipush <i> for the
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1353
     respective value of <i>, except that the operand <i> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1354
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1355
    "Modified: / 17-03-2011 / 15:30:00 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1356
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1357
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1358
iconst_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1359
    self iconst:1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1360
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1361
    "Modified: / 17-03-2011 / 15:30:07 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1362
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1363
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1364
iconst_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1365
    self iconst: 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1366
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1367
    "Modified: / 17-03-2011 / 15:30:11 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1368
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1369
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1370
iconst_3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1371
    self iconst: 3.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1372
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1373
    "Modified: / 17-03-2011 / 15:30:15 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1374
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1375
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1376
iconst_4
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1377
    self iconst: 4.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1378
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1379
    "Modified: / 17-03-2011 / 15:30:19 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1380
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1381
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1382
iconst_5
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1383
   self iconst: 5.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1384
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1385
    "Modified: / 17-03-2011 / 15:30:22 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1386
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1387
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1388
iconst_m1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1389
   self iconst: -1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1390
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1391
    "Modified: / 17-03-2011 / 15:30:27 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1392
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1393
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1394
idiv
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1395
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1396
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1397
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1398
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1399
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1400
ifacmpeq
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1401
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1402
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1403
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1404
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1405
    "Created: / 17-03-2011 / 16:53:47 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1406
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1407
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1408
ifacmpne
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1409
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1410
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1411
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1412
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1413
    "Created: / 17-03-2011 / 16:53:54 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1414
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1415
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1416
ifeq
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1417
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1418
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1419
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1420
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1421
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1422
ifge
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1423
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1424
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1425
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1426
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1427
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1428
ifgt
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1429
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1430
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1431
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1432
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1433
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1434
ificmpeq
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1435
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1436
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1437
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1438
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1439
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1440
ificmpge
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1441
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1442
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1443
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1444
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1445
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1446
ificmpgt
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1447
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1448
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1449
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1450
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1451
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1452
ificmple
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1453
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1454
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1455
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1456
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1457
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1458
ificmplt
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1459
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1460
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1461
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1462
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1463
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1464
ificmpne
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1465
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1466
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1467
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1468
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1469
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1470
ifle
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1471
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1472
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1473
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1474
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1475
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1476
iflt
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1477
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1478
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1479
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1480
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1481
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1482
ifne
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1483
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1484
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1485
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1486
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1487
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1488
ifnonnull
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1489
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1490
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1491
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1492
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1493
    "Created: / 17-03-2011 / 16:58:39 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1494
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1495
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1496
ifnull
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1497
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1498
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1499
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1500
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1501
    "Created: / 17-03-2011 / 16:58:32 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1502
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1503
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1504
iinc
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1505
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1506
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1507
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1508
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1509
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1510
iload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1511
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1512
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1513
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1514
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1515
    "Created: / 17-03-2011 / 15:06:42 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1516
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1517
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1518
iload: arg 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1519
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1520
     loads an int value from local variable 0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1521
     stack: nothing -> value
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1522
         args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1523
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1524
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1525
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1526
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1527
     Description
3385
58d72cc6d5f6 Replaced old-style `'string' infoPrintCR` logging with new-style `Logger log:'string'` logging
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3383
diff changeset
  1528
     The <n> must be an index into the local variable array of the current frame (§3.6).
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1529
     The local variable at <n> must contain an int. The value of the local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1530
     at <n> is pushed onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1531
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1532
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1533
     Each of the iload_<n> instructions is the same as iload with an index of <n>,
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1534
         except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1535
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1536
    "Modified: / 17-03-2011 / 15:30:58 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1537
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1538
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1539
iload_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1540
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1541
     loads an int value from local variable 0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1542
     stack: nothing -> value
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1543
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1544
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1545
    self iload: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1546
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1547
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1548
     Description
3385
58d72cc6d5f6 Replaced old-style `'string' infoPrintCR` logging with new-style `Logger log:'string'` logging
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3383
diff changeset
  1549
     The <n> must be an index into the local variable array of the current frame (§3.6).
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1550
     The local variable at <n> must contain an int. The value of the local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1551
     at <n> is pushed onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1552
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1553
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1554
     Each of the iload_<n> instructions is the same as iload with an index of <n>,
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1555
     except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1556
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1557
    "Created: / 06-03-2011 / 21:22:17 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1558
    "Modified: / 13-03-2011 / 20:58:31 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1559
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1560
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1561
iload_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1562
    "check iload_0"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1563
    self iload: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1564
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1565
    "Created: / 06-03-2011 / 21:22:30 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1566
    "Modified: / 13-03-2011 / 16:36:59 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1567
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1568
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1569
iload_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1570
    "check iload_0"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1571
    self iload:2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1572
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1573
    "Created: / 06-03-2011 / 21:24:02 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1574
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1575
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1576
iload_3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1577
    "check iload_0"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1578
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1579
    self iload: 3.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1580
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1581
    "Created: / 14-03-2011 / 19:05:26 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1582
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1583
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1584
imul
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1585
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1586
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1587
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1588
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1589
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1590
ineg
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1591
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1592
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1593
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1594
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1595
    "Created: / 17-03-2011 / 16:47:24 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1596
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1597
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1598
instanceof
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1599
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1600
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1601
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1602
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1603
    "Created: / 17-03-2011 / 16:57:57 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1604
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1605
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1606
int2byte
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1607
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1608
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1609
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1610
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1611
    "Created: / 17-03-2011 / 16:51:03 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1612
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1613
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1614
int2char
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1615
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1616
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1617
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1618
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1619
    "Created: / 17-03-2011 / 16:51:08 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1620
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1621
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1622
int2short
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1623
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1624
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1625
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1626
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1627
    "Created: / 17-03-2011 / 16:51:13 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1628
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1629
3383
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
  1630
invdynamic
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
  1631
    "raise an error: must be redefined in concrete subclass(es)"
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
  1632
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
  1633
    ^ self subclassResponsibility
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
  1634
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
  1635
    "Created: / 25-02-2015 / 19:35:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
  1636
!
858b2f40ce91 Added support for InvokeDynamic to JavaByteCodeProcessor.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3324
diff changeset
  1637
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1638
invinterface
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1639
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1640
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1641
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1642
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1643
    "Created: / 17-03-2011 / 16:56:41 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1644
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1645
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1646
invnonvirt
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1647
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1648
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1649
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1650
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1651
    "Created: / 17-03-2011 / 16:56:26 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1652
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1653
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1654
invstatic
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1655
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1656
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1657
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1658
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1659
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1660
invvirt
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1661
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1662
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1663
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1664
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1665
    "Created: / 17-03-2011 / 16:56:21 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1666
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1667
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1668
ior
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1669
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1670
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1671
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1672
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1673
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1674
irem
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1675
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1676
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1677
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1678
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1679
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1680
ireturn
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1681
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1682
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1683
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1684
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1685
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1686
ishl
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1687
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1688
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1689
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1690
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1691
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1692
ishr
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1693
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1694
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1695
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1696
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1697
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1698
istore     
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1699
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1700
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1701
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1702
    "Created: / 17-03-2011 / 16:36:55 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1703
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1704
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1705
istore: arg 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1706
    "store int value into variable 0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1707
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1708
         args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1709
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1710
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1711
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1712
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1713
     Description
3385
58d72cc6d5f6 Replaced old-style `'string' infoPrintCR` logging with new-style `Logger log:'string'` logging
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3383
diff changeset
  1714
     The <n> must be an index into the local variable array of the current frame (§3.6).
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1715
     The value on the top of the operand stack must be of type int. It is popped from
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1716
     the operand stack, and the value of the local variable at <n> is set to value.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1717
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1718
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1719
     Each of the istore_<n> instructions is the same as istore with an index of <n>,
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1720
         except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1721
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1722
    "Modified: / 17-03-2011 / 15:31:20 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1723
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1724
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1725
istore_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1726
    "store int value into variable 0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1727
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1728
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1729
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1730
    self istore: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1731
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1732
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1733
     Description
3385
58d72cc6d5f6 Replaced old-style `'string' infoPrintCR` logging with new-style `Logger log:'string'` logging
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3383
diff changeset
  1734
     The <n> must be an index into the local variable array of the current frame (§3.6).
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1735
     The value on the top of the operand stack must be of type int. It is popped from
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1736
     the operand stack, and the value of the local variable at <n> is set to value.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1737
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1738
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1739
     Each of the istore_<n> instructions is the same as istore with an index of <n>,
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1740
     except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1741
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1742
    "Created: / 06-03-2011 / 21:01:27 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1743
    "Modified: / 17-03-2011 / 15:31:16 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1744
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1745
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1746
istore_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1747
    "check istore_0"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1748
    self istore: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1750
    "Created: / 06-03-2011 / 21:18:15 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1751
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1752
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1753
istore_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1754
    "check istore_0"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1755
    self istore: 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1756
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1757
    "Created: / 06-03-2011 / 21:23:54 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1758
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1759
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1760
istore_3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1761
    "check istore_0"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1762
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1763
    self istore: 3.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1764
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1765
    "Created: / 14-03-2011 / 19:05:12 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1766
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1767
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1768
isub
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1769
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1770
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1771
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1772
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1773
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1774
iushr
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1775
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1776
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1777
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1778
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1779
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1780
ixor
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1781
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1782
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1783
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1784
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1785
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1786
jsr
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1787
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1788
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1789
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1790
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1791
    "Created: / 17-03-2011 / 16:54:10 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1792
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1793
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1794
jsr_w
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1795
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1796
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1797
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1798
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1799
    "Created: / 17-03-2011 / 16:58:58 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1800
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1801
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1802
l2d
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1803
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1804
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1805
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1806
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1807
    "Created: / 17-03-2011 / 16:50:17 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1808
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1809
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1810
l2f
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1811
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1812
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1813
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1814
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1815
    "Created: / 17-03-2011 / 16:50:14 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1816
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1817
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1818
l2i
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1819
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1820
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1821
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1822
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1823
    "Created: / 17-03-2011 / 16:50:09 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1824
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1825
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1826
ladd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1827
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1828
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1829
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1830
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1831
    "Created: / 17-03-2011 / 16:44:41 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1832
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1833
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1834
laload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1835
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1836
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1837
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1838
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1839
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1840
land
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1841
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1842
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1843
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1844
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1845
    "Created: / 17-03-2011 / 16:48:57 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1846
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1847
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1848
lastore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1849
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1850
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1851
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1852
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1853
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1854
lcmp
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1855
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1856
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1857
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1858
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1859
    "Created: / 17-03-2011 / 16:51:30 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1860
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1861
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1862
lconst: arg 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1863
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1864
     Push long constant
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1865
     stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1866
     arg: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1867
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1868
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1869
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1870
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1871
     Push the long constant <l> (0 or 1) onto the operand stack."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1872
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1873
    "Modified: / 17-03-2011 / 16:30:28 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1874
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1875
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1876
lconst_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1877
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1878
     Push long constant
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1879
     stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1880
     arg: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1881
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1882
    self lconst: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1883
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1884
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1885
     Push the long constant <l> (0 or 1) onto the operand stack."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1886
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1887
    "Created: / 14-03-2011 / 17:53:32 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1888
    "Modified: / 17-03-2011 / 16:28:58 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1889
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1890
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1891
lconst_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1892
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1893
     Push long constant
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1894
     stack: nothing -> const
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1895
     arg: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1896
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1897
    self lconst: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1898
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1899
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1900
     Push the long constant <l> (0 or 1) onto the operand stack."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1901
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1902
    "Created: / 14-03-2011 / 17:53:41 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1903
    "Modified: / 17-03-2011 / 16:29:04 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1904
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1905
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1906
ldc1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1907
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1908
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1909
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1910
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1911
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1912
ldc2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1913
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1914
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1915
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1916
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1917
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1918
ldc2w
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1919
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1920
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1921
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1922
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1923
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1924
ldiv
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1925
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1926
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1927
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1928
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1929
    "Created: / 17-03-2011 / 16:46:16 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1930
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1931
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1932
lload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1933
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1934
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1935
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1936
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1937
    "Created: / 17-03-2011 / 15:06:08 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1938
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1939
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1940
lload: arg 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1941
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1942
     Load long from local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1943
     stack: nothing -> value
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1944
         args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1945
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1946
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1947
    ^ self subclassResponsibility.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1948
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1949
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1950
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1951
     Both <n> and <n> + 1 must be indices into the local variable array of the
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1952
     current frame (3.6). The local variable at <n> must contain a long. The
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1953
     value of the local variable at <n> is pushed onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1954
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1955
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1956
     Each of the lload_<n> instructions is the same as lload with an index
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1957
     of <n>, except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1958
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1959
    "Modified: / 17-03-2011 / 16:33:33 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1960
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1961
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1962
lload_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1963
"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1964
Load long from local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1965
stack: nothing -> value
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1966
args: nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1967
"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1968
    self lload: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1969
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1970
"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1971
Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1972
Both <n> and <n> + 1 must be indices into the local variable array of the 
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  1973
current frame (3.6). The local variable at <n> must contain a long. The 
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1974
value of the local variable at <n> is pushed onto the operand stack.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1975
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1976
Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1977
Each of the lload_<n> instructions is the same as lload with an index 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1978
of <n>, except that the operand <n> is implicit.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1979
"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1980
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1981
    "Created: / 14-03-2011 / 13:38:11 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1982
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1983
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1984
lload_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1985
self lload: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1986
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1987
    "Created: / 14-03-2011 / 13:37:42 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1988
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1989
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1990
lload_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1991
    self lload: 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1992
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1993
    "Created: / 14-03-2011 / 13:38:39 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1994
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1995
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1996
lload_3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1997
    self lload: 3.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1998
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  1999
    "Created: / 14-03-2011 / 13:38:43 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2000
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2001
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2002
lmul
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2003
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2004
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2005
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2006
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2007
    "Created: / 17-03-2011 / 16:45:53 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2008
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2009
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2010
lneg
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2011
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2012
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2013
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2014
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2015
    "Created: / 17-03-2011 / 16:47:29 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2016
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2017
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2018
lookupswtch
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2019
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2020
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2021
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2022
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2023
    "Created: / 17-03-2011 / 16:55:04 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2024
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2025
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2026
lor
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2027
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2028
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2029
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2030
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2031
    "Created: / 17-03-2011 / 16:49:03 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2032
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2033
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2034
lrem
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2035
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2036
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2037
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2038
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2039
    "Created: / 17-03-2011 / 16:46:58 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2040
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2041
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2042
lreturn
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2043
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2044
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2045
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2046
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2047
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2048
lshl
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2049
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2050
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2051
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2052
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2053
    "Created: / 17-03-2011 / 16:48:09 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2054
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2055
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2056
lshr
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2057
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2058
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2059
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2060
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2061
    "Created: / 17-03-2011 / 16:48:21 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2062
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2063
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2064
lstore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2065
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2066
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2067
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2068
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2069
    "Created: / 17-03-2011 / 16:37:14 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2070
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2071
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2072
lstore:arg
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2073
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2074
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2075
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2076
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2077
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2078
lstore_0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2079
    "store long into local variable 0
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2080
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2081
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2082
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2083
    self lstore: 0.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2084
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2085
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2086
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2087
     Both <n> and <n> + 1 must be indices into the local variable array of the
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  2088
     current frame (3.6). The value on the top of the operand stack must be
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2089
     of type long. It is popped from the operand stack, and the local variables
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2090
     at <n> and <n> + 1 are set to value.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2091
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2092
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2093
     Each of the lstore_<n> instructions is the same as lstore with an index
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2094
     of <n>, except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2095
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2096
    "Created: / 14-03-2011 / 17:54:43 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2097
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2098
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2099
lstore_1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2100
    "store long into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2101
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2102
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2103
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2104
    self lstore: 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2105
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2106
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2107
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2108
     Both <n> and <n> + 1 must be indices into the local variable array of the
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  2109
     current frame (3.6). The value on the top of the operand stack must be
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2110
     of type long. It is popped from the operand stack, and the local variables
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2111
     at <n> and <n> + 1 are set to value.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2112
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2113
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2114
     Each of the lstore_<n> instructions is the same as lstore with an index
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2115
     of <n>, except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2116
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2117
    "Created: / 14-03-2011 / 17:55:15 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2118
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2119
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2120
lstore_2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2121
    "store long into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2122
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2123
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2124
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2125
    self lstore: 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2126
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2127
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2128
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2129
     Both <n> and <n> + 1 must be indices into the local variable array of the
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  2130
     current frame (3.6). The value on the top of the operand stack must be
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2131
     of type long. It is popped from the operand stack, and the local variables
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2132
     at <n> and <n> + 1 are set to value.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2133
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2134
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2135
     Each of the lstore_<n> instructions is the same as lstore with an index
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2136
     of <n>, except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2137
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2138
    "Created: / 14-03-2011 / 17:55:20 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2139
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2140
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2141
lstore_3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2142
    "store long into local variable
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2143
     stack: value -> nothing
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2144
     args: nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2145
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2146
    self lstore: 3.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2147
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2148
    "
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2149
     Description
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2150
     Both <n> and <n> + 1 must be indices into the local variable array of the
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  2151
     current frame (3.6). The value on the top of the operand stack must be
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2152
     of type long. It is popped from the operand stack, and the local variables
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2153
     at <n> and <n> + 1 are set to value.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2154
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2155
     Notes
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2156
     Each of the lstore_<n> instructions is the same as lstore with an index
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2157
     of <n>, except that the operand <n> is implicit."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2158
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2159
    "Created: / 14-03-2011 / 17:56:04 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2160
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2161
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2162
lsub
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2163
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2164
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2165
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2166
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2167
    "Created: / 17-03-2011 / 16:45:25 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2168
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2169
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2170
lushr
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2171
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2172
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2173
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2174
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2175
    "Created: / 17-03-2011 / 16:48:41 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2176
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2177
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2178
lxor
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2179
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2180
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2181
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2182
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2183
    "Created: / 17-03-2011 / 16:49:09 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2184
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2185
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2186
monenter
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2187
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2188
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2189
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2190
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2191
    "Created: / 17-03-2011 / 16:58:06 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2192
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2193
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2194
monexit
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2195
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2196
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2197
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2198
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2199
    "Created: / 17-03-2011 / 16:58:10 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2200
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2201
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2202
multianewarray
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2203
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2204
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2205
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2206
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2207
    "Created: / 17-03-2011 / 16:58:28 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2208
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2209
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2210
new
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2211
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2212
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2213
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2214
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2215
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2216
newarray
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2217
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2218
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2219
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2220
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2221
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2222
nop
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2223
"Do nothing"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2224
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2225
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2226
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2227
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2228
    "Modified: / 17-03-2011 / 16:27:12 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2229
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2230
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2231
pop1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2232
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2233
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2234
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2235
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2236
    "Created: / 17-03-2011 / 16:43:07 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2237
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2238
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2239
pop2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2240
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2241
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2242
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2243
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2244
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2245
putfield
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2246
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2247
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2248
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2249
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2250
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2251
putstatic
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2252
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2253
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2254
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2255
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2256
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2257
ret
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2258
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2259
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2260
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2261
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2262
    "Created: / 17-03-2011 / 16:54:31 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2263
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2264
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2265
ret_w
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2266
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2267
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2268
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2269
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2270
    "Created: / 17-03-2011 / 16:59:12 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2271
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2272
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2273
return
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2274
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2275
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2276
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2277
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2278
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2279
saload
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2280
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2281
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2282
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2283
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2284
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2285
sastore
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2286
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2287
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2288
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2289
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2290
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2291
sipush
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2292
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2293
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2294
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2295
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2296
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2297
swap
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2298
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2299
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2300
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2301
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2302
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2303
tableswtch
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2304
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2305
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2306
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2307
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2308
    "Created: / 17-03-2011 / 16:54:55 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2309
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2310
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2311
wide
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2312
    "raise an error: must be redefined in concrete subclass(es)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2313
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2314
    ^ self subclassResponsibility
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2315
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2316
    "Created: / 17-03-2011 / 16:58:16 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2317
! !
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2318
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2319
!JavaByteCodeProcessor methodsFor:'private-helpers'!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2320
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2321
fetchByte
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2322
    "fetch sign extended byte value stored in bytecode"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2323
    pc := pc + 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2324
    ^ (byteCode at: (pc - 1)) signExtendedByteValue.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2325
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2326
    "Created: / 06-03-2011 / 22:26:09 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2327
    "Modified: / 17-03-2011 / 17:00:30 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2328
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2329
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2330
fetchBytes2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2331
    "fetch sign extended 2 byte value stored in bytecode"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2332
    pc := pc + 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2333
    ^ (((byteCode at: (pc - 2)) bitShift: 8) + (byteCode at: (pc - 1))) 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2334
        signExtendedShortValue.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2335
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2336
    "Created: / 06-03-2011 / 21:12:07 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2337
    "Modified: / 17-03-2011 / 17:00:43 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2338
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2339
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2340
fetchBytes4
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2341
    "fetch sign extended 4 byte value stored in bytecode"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2342
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2343
    pc := pc + 4.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2344
    ^ (((((byteCode at: (pc - 4)) bitShift: 24) 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2345
        bitOr: ((byteCode at: (pc - 3)) bitShift: 16)) 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2346
            bitOr: ((byteCode at: (pc - 2)) bitShift: 8)) 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2347
            bitOr: (byteCode at: (pc - 1))) asSigned32.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2348
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2349
    "Created: / 21-03-2011 / 12:59:26 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2350
    "Modified: / 21-03-2011 / 15:10:22 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2351
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2352
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2353
fetchIndex
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2354
    "fetch index value from bytecode"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2355
    pc := pc + 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2356
    ^ (byteCode at: (pc - 1)).
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2357
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2358
    "Created: / 24-02-2011 / 22:37:18 / Marcel Hlopko <hlopik@gmail.com>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2359
    "Modified: / 17-03-2011 / 17:01:14 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2360
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2361
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2362
fetchIndex2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2363
    "fetch index 2 byte value from bytecode"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2364
    pc := pc + 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2365
    ^ ((byteCode at: (pc - 2)) bitShift: 8) bitOr: (byteCode at: (pc - 1)).
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2366
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2367
    "Modified: / 24-02-2011 / 21:33:53 / Marcel Hlopko <hlopik@gmail.com>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2368
    "Modified: / 17-03-2011 / 17:01:24 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2369
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2370
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2371
pop
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2372
    "return and remove top of the stack"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2373
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2374
    sp := sp - 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2375
    ^ context at: sp + 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2376
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2377
    "Modified: / 17-03-2011 / 17:39:09 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2378
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2379
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2380
popDouble
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2381
    "so far I didn't find a reason to handle doubles and long on stack differently"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2382
    ^ self pop.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2383
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2384
    "Modified: / 17-03-2011 / 17:02:34 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2385
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2386
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2387
popLong
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2388
"so far I didn't find a reason to handle doubles and long on stack differently"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2389
    ^ self pop.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2390
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2391
    "Modified: / 17-03-2011 / 17:02:38 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2392
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2393
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2394
pushConstant: something 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2395
    "push constant value on the stack - is there really not any better push method?"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2396
    sp := sp + 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2397
    context at: sp put: something
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2398
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2399
    "Modified: / 17-03-2011 / 17:05:56 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2400
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2401
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2402
pushDouble: something 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2403
    "push double value on the stack"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2404
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2405
    ^ self pushInt: something.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2406
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2407
    "Modified: / 17-03-2011 / 17:06:28 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2408
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2409
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2410
pushFloat: something 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2411
    "push float value on the stack"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2412
    self pushInt: something.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2413
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2414
    "Created: / 13-03-2011 / 16:39:52 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2415
    "Modified: / 17-03-2011 / 17:06:41 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2416
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2417
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2418
pushInt: something 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2419
    "push integer value on the stack"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2420
    sp := sp + 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2421
    context at: sp put: something
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2422
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2423
    "Created: / 13-03-2011 / 17:28:16 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2424
    "Modified: / 17-03-2011 / 17:06:52 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2425
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2426
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2427
pushLong: something 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2428
    "push long value on the stack"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2429
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2430
    ^ self pushInt: something.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2431
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2432
    "sp := sp + 2.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2433
     context at: sp - 1 put: #'dummy long complement'.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2434
     context at: sp put: something asLargeInteger."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2435
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2436
    "Modified: / 17-03-2011 / 17:07:06 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2437
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2438
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2439
pushNewArrayOf: type sized: size 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2440
    "push new array of type with <size> slots"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2441
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2442
    self pushRef: ((JavaArray javaArrayClassFor: type) new: size).
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2443
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2444
    "Created: / 14-03-2011 / 18:36:15 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2445
    "Modified: / 27-03-2011 / 21:06:30 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2446
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2447
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2448
pushNewPrimitiveArrayOf: typeName sized: size 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2449
    "push new array of <typeName> (e.g. 'long', only primitive types) with <size> slots"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2450
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2451
    self 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2452
        pushRef: ((JavaArray 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2453
                javaArrayClassFor: (JavaDescriptor baseTypesByTypeName at: typeName)) 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2454
                    new: size).
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2455
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2456
    "Created: / 27-03-2011 / 21:06:07 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2457
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2458
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2459
pushRef: something 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2460
    "push java ref on the stack"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2461
    sp := sp + 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2462
    context at: sp put: something
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2463
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2464
    "Created: / 13-03-2011 / 16:35:55 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2465
    "Modified: / 21-03-2011 / 16:49:30 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2466
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2467
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2468
relativeJump: pos 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2469
    "move pc relatively by the position <pos>."
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2470
   
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2471
    pc := instrPointer + pos.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2472
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2473
    "Created: / 21-03-2011 / 18:19:44 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2474
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2475
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2476
skipPadding
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2477
    "in tableswitch and lookupswitch instructions, there's a padding after instruction to ensure 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2478
     32bit values following begin at address that is multiple of 4 bytes from the start of the current
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2479
     method bytecode"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2480
    
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2481
    | jmpSize |
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2482
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2483
    jmpSize := ((4 - (pc \\ 4)) + 1) \\ 4.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2484
    pc := pc + jmpSize.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2485
    ^ jmpSize.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2486
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2487
    "Created: / 21-03-2011 / 13:13:55 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2488
    "Modified: / 22-03-2011 / 15:54:23 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2489
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2490
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2491
tos
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2492
    ^ context at:sp.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2493
! !
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2494
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2495
!JavaByteCodeProcessor methodsFor:'private-logging'!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2496
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2497
log: aMessage
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2498
self class log: aMessage.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2499
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2500
    "Created: / 17-03-2011 / 14:59:56 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2501
! !
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2502
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2503
!JavaByteCodeProcessor methodsFor:'processing loop'!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2504
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2505
enterProcessingLoop
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2506
    Context cannotReturnSignal handle: 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2507
            [:ex | 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2508
            "/ this is required for blocks of this method, which do a homeReturn.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2509
            "/ since my context is not really on the stack (and therefore not returnable),
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2510
            "/ catch the error and return manually.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2511
            ^ ex parameter ]
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2512
        do: 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2513
            [ [ leaveProcessor ] whileFalse: 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2514
                    [ instrPointer := pc.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2515
                    op := byteCode at: pc.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2516
                    pc := pc + 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2517
                    self switch: op. ]. ].
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2518
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2519
    "Created: / 31-03-2011 / 16:38:01 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2520
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2521
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2522
handleAbstractMethod
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2523
    self subclassResponsibility.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2524
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2525
    "Created: / 22-03-2011 / 14:49:43 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2526
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2527
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2528
handleNativeMethod
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2529
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2530
    "Created: / 09-02-2012 / 22:47:03 / mh <hlopik@gmail.com>"
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2531
!
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2532
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2533
initializeContextArgsFrom: argArray 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2534
    1 to: numArgs do: [:idx | context at: idx put: (argArray at: idx). ]
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2535
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2536
    "Created: / 21-03-2011 / 15:17:23 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2537
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2538
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2539
initializeContextVars
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2540
    1 to: numVars do: [:idx | context at: (numArgs + idx) put: nil. ]
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2541
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2542
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2543
leaveProcessorWith: aReturnObject 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2544
    retVal := aReturnObject.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2545
    leaveProcessor := true
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2546
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2547
    "Modified: / 17-03-2011 / 17:39:21 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2548
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2549
3196
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2550
process:aMethod receiver:aReceiver arguments:args 
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2551
    | argArray |
3196
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2552
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2553
    aMethod isAbstract ifTrue:[
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2554
        ^ self handleAbstractMethod.
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2555
    ].
3196
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2556
    aMethod isNative ifTrue:[
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2557
        ^ self handleNativeMethod
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2558
    ].
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2559
    args size ~~ aMethod javaNumArgs ifTrue:[
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2560
        self error:'bad number of arguments'
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2561
    ].
3196
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2562
    aMethod isStatic ifTrue:[
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2563
        argArray := args
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2564
    ] ifFalse:[
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2565
        argArray := OrderedCollection with:aReceiver.
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2566
        args notNil ifTrue:[
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2567
            argArray addAll:args.
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2568
        ].
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2569
    ].
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2570
    numArgs := argArray size.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2571
    numVars := aMethod numVars.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2572
    method := aMethod.
3196
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2573
    context := JavaContext new:(numArgs + numVars + aMethod stackSize).
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2574
    context setNumArgs:numArgs numVars:numVars.
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2575
    receiver := aReceiver.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2576
    byteCode := aMethod byteCode.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2577
    constantPool := aMethod constantPool.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2578
    pc := 1.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2579
    wide := false.
3196
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2580
    self initializeContextArgsFrom:argArray.
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2581
    self initializeContextVars.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2582
    sp := numArgs + numVars.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2583
    leaveProcessor := false.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2584
    self enterProcessingLoop.
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2585
    ^ retVal
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2586
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2587
    "Modified: / 24-02-2011 / 11:09:07 / Marcel Hlopko <hlopik@gmail.com>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2588
    "Created: / 17-03-2011 / 17:25:31 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2589
    "Modified: / 31-03-2011 / 16:38:05 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2590
    "Modified: / 09-02-2012 / 22:51:38 / mh <hlopik@gmail.com>"
3196
d617b4590431 (Class reading) optimization [2/4]: rewrite slow ifNil:... by faster isNil ifTrue:...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
  2591
    "Modified: / 04-08-2014 / 15:51:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2592
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2593
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2594
switch: op 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2595
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2596
    self log: 'invoking ' , (OpSwitchTable at: op + 1) printString , '(' , op printString , ')'.                 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2597
    self perform: (OpSwitchTable at: op + 1)
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2598
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2599
    "Modified: / 17-03-2011 / 15:01:15 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2600
    "Modified: / 22-03-2011 / 20:55:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2601
! !
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2602
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2603
!JavaByteCodeProcessor class methodsFor:'documentation'!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2604
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2605
version
3431
82790b1e6d54 Merged with mercurial revision 4f3cc813be4 (8 changesets total)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3430
diff changeset
  2606
    ^ '$Header: /cvs/stx/stx/libjava/JavaByteCodeProcessor.st,v 1.9 2015-03-20 12:07:59 vrany Exp $'
2190
8026ab73e194 added: #version_CVS
Claus Gittinger <cg@exept.de>
parents: 2152
diff changeset
  2607
!
8026ab73e194 added: #version_CVS
Claus Gittinger <cg@exept.de>
parents: 2152
diff changeset
  2608
8026ab73e194 added: #version_CVS
Claus Gittinger <cg@exept.de>
parents: 2152
diff changeset
  2609
version_CVS
3431
82790b1e6d54 Merged with mercurial revision 4f3cc813be4 (8 changesets total)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3430
diff changeset
  2610
    ^ '$Header: /cvs/stx/stx/libjava/JavaByteCodeProcessor.st,v 1.9 2015-03-20 12:07:59 vrany Exp $'
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2611
!
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2612
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2613
version_HG
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2614
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2615
    ^ '$Changeset: <not expanded> $'
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2616
!
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2617
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2618
version_SVN
2731
13f5be2bf83b Merged d87e89dd5276 and fe83a843a7bf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2711 2678
diff changeset
  2619
    ^ 'Id'
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2620
! !
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
  2621
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2290
diff changeset
  2622
2152
1cbdfbcc685c Jan's version
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 749
diff changeset
  2623
JavaByteCodeProcessor initialize!