-
Notifications
You must be signed in to change notification settings - Fork 0
/
stack.txt
57 lines (56 loc) · 2.58 KB
/
stack.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Stack execute() Process execute()
+-----------+ +-----------+
1 | NIL | argument psb | stack | j : 10
+-----------+ +-----------+
2 | NIL | prevLink | 10 | stackTop linkPointer : 2
+-----------+ +-----------+
3 | NIL | context | 2 | linkPointer contextObject : NIL (psb[linkPointer+1])
+-----------+ +-----------+
4 | 1 | returnPoint returnPoint : 1 (psb[linkPointer+2])
+-----------+
5 | method | method byteOffset : 1 (psb[linkPointer+4])
+-----------+
6 | 1 | byteOffset method : psb[5] (psb[linkPointer+3])
+-----------+
7 | | temps contextObject : stack object
+-----------+
8 | | cntx : psb
+-----------+
9 | | arg : psb[1] (cntx + returnPoint -1)
+-----------+
10 | | temps : psb[7] (cntx + linkPointer + 4)
+-----------+
11 | 2 | prevLink pst rcv : NULL (arg[0].sysMemPtr())
+-----------+
12 | NIL | context
+-----------+
13 | 11 | returnPoint
+-----------+
14 | method | method
+-----------+
15 | 1 | byteOffset
+-----------+
16 | NIL | temps
+-----------+
17 | | <------ pst
+-----------+
18 | |
+-----------+
19 | |
+-----------+
20 | |
+-----------+
21 | |
+-----------+
22 | |
+-----------+
23 | |
+-----------+
24 | |
+-----------+
25 | |
+-----------+
26 | |
+-----------+
27 | |
+-----------+