Handbook
Glossary
context
Vocabulary
vm
Definition
USING:
classes.struct
;
IN:
vm
STRUCT:
context
{
callstack-top
cell_t
initial:
0
}
{
callstack-bottom
cell_t
initial:
0
}
{
datastack
cell_t
initial:
0
}
{
retainstack
cell_t
initial:
0
}
{
callstack-save
cell_t
initial:
0
}
{
datastack-seg segment*
}
{
retainstack-seg segment*
}
{
callstack-seg segment*
}
{
context-objects cell_t[context-object-count]
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
vm
;
M:
context
clone
clone-underlying
\
context
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
vm
;
M:
context
struct-slot-values
{
[
callstack-top>>
]
[
callstack-bottom>>
]
[
datastack>>
]
[
retainstack>>
]
[
callstack-save>>
]
[
datastack-seg>>
]
[
retainstack-seg>>
]
[
callstack-seg>>
]
[
context-objects>>
]
}
cleave>array
;
inline