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