Commit dd307eb4 authored by Benoit Perrot's avatar Benoit Perrot
Browse files

Add accessors for heap and stack sizes.

parent db7743f6
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.
......
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment