author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Wed, 27 Jan 2016 08:34:29 +0000 | |
changeset 15 | eccc20e9c2e1 |
parent 12 | 6e775bad5027 |
permissions | -rw-r--r-- |
2
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
" |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
3 |
All Rights Reserved |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
4 |
|
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
This software is furnished under a license and may be used |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
only in accordance with the terms of that license and with the |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
inclusion of the above copyright notice. This software may not |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
be provided or otherwise made available to, or used by, any |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
other person. No title to or ownership of the software is |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
hereby transferred. |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
" |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
"{ Package: 'jv:dragonfly' }" |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
|
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
"{ NameSpace: Smalltalk }" |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
|
9
40f9438e9de3
Updated after rename of section type to section format. Implemented section allocation routines.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
16 |
SharedPool subclass:#CompiledCodeObjectSectionFormat |
2
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
instanceVariableNames:'' |
12
6e775bad5027
More tests for CompiledCodeObject and ObjectFileLoader.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
9
diff
changeset
|
18 |
classVariableNames:'SectionFormatBytes SectionFormatText SectionFormatOBJVector |
6e775bad5027
More tests for CompiledCodeObject and ObjectFileLoader.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
9
diff
changeset
|
19 |
SectionFormatILCVector SectionFormatINTVector' |
2
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
poolDictionaries:'' |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
category:'System-Compiler-Interface' |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
! |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
|
9
40f9438e9de3
Updated after rename of section type to section format. Implemented section allocation routines.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
24 |
!CompiledCodeObjectSectionFormat class methodsFor:'documentation'! |
2
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
25 |
|
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
copyright |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
27 |
" |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
28 |
COPYRIGHT (c) 2006 by eXept Software AG |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
29 |
All Rights Reserved |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
30 |
|
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
31 |
This software is furnished under a license and may be used |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
32 |
only in accordance with the terms of that license and with the |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
33 |
inclusion of the above copyright notice. This software may not |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
34 |
be provided or otherwise made available to, or used by, any |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
35 |
other person. No title to or ownership of the software is |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
36 |
hereby transferred. |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
37 |
" |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
38 |
! ! |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
39 |
|
9
40f9438e9de3
Updated after rename of section type to section format. Implemented section allocation routines.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
40 |
!CompiledCodeObjectSectionFormat class methodsFor:'initialization'! |
2
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
41 |
|
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
42 |
initialize |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
43 |
"Invoked at system start or when the class is dynamically loaded." |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
44 |
|
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
45 |
"/ please change as required (and remove this comment) |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
46 |
|
9
40f9438e9de3
Updated after rename of section type to section format. Implemented section allocation routines.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
47 |
SectionFormatBytes := 0. |
40f9438e9de3
Updated after rename of section type to section format. Implemented section allocation routines.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
48 |
SectionFormatText := 1. |
40f9438e9de3
Updated after rename of section type to section format. Implemented section allocation routines.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
49 |
SectionFormatOBJVector := 2. |
40f9438e9de3
Updated after rename of section type to section format. Implemented section allocation routines.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
50 |
SectionFormatILCVector := 4. |
40f9438e9de3
Updated after rename of section type to section format. Implemented section allocation routines.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
51 |
SectionFormatINTVector := 5. |
2
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
52 |
|
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
53 |
"Modified: / 07-12-2015 / 21:43:52 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
54 |
! ! |
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
55 |
|
12
6e775bad5027
More tests for CompiledCodeObject and ObjectFileLoader.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
9
diff
changeset
|
56 |
!CompiledCodeObjectSectionFormat class methodsFor:'documentation'! |
6e775bad5027
More tests for CompiledCodeObject and ObjectFileLoader.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
9
diff
changeset
|
57 |
|
6e775bad5027
More tests for CompiledCodeObject and ObjectFileLoader.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
9
diff
changeset
|
58 |
version_HG |
6e775bad5027
More tests for CompiledCodeObject and ObjectFileLoader.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
9
diff
changeset
|
59 |
|
6e775bad5027
More tests for CompiledCodeObject and ObjectFileLoader.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
9
diff
changeset
|
60 |
^ '$Changeset: <not expanded> $' |
6e775bad5027
More tests for CompiledCodeObject and ObjectFileLoader.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
9
diff
changeset
|
61 |
! ! |
6e775bad5027
More tests for CompiledCodeObject and ObjectFileLoader.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
9
diff
changeset
|
62 |
|
2
88445baa732f
Introduced a CompiledCodeObject - an interface to VM's macine code management.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
63 |
|
9
40f9438e9de3
Updated after rename of section type to section format. Implemented section allocation routines.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
64 |
CompiledCodeObjectSectionFormat initialize! |