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