8055007: NMT2: emptyStack missing in minimal build

Refactored emptyStack to a static member of NativeCallStack, which is accessible in minimal build.

Reviewed-by: coleenp, dholmes
This commit is contained in:
Zhengyu Gu 2014-08-19 08:34:25 -04:00
parent 1fec07f4bf
commit e672087234
8 changed files with 17 additions and 14 deletions

View file

@ -320,7 +320,7 @@ class ReservedMemoryRegion : public VirtualMemoryRegion {
ReservedMemoryRegion(address base, size_t size) :
VirtualMemoryRegion(base, size), _stack(emptyStack), _flag(mtNone),
VirtualMemoryRegion(base, size), _stack(NativeCallStack::EMPTY_STACK), _flag(mtNone),
_all_committed(false) { }
// Copy constructor