Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tiger
nolimips
Commits
dd307eb4
Commit
dd307eb4
authored
Jul 17, 2003
by
Benoit Perrot
Browse files
Add accessors for heap and stack sizes.
parent
db7743f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
dd307eb4
2003-07-17 Benot Perrot <benoit@lrde.epita.fr>
* src/vm/memory.hh: Add accessors for heap and stack sizes.
2003-07-17 Benot Perrot <benoit@lrde.epita.fr>
* src/inst/section.hh: Export types.
...
...
src/vm/memory.hh
View file @
dd307eb4
...
...
@@ -67,6 +67,16 @@ namespace vm
return
ptr
;
}
public:
int
heap_size
()
{
return
_heap
.
size
();
}
int
stack_size
()
{
return
_stack
.
size
();
}
public:
void
store
(
const
inst
::
DataSection
&
data_section
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment