< prev index next >

src/cpu/zero/vm/stack_zero.hpp

Print this page

        

*** 86,96 **** assert(_sp < _top, "stack underflow"); return *(_sp++); } void *alloc(size_t size) { ! int count = align_size_up(size, wordSize) >> LogBytesPerWord; assert(count <= available_words(), "stack overflow"); return _sp -= count; } int shadow_pages_size() const { --- 86,96 ---- assert(_sp < _top, "stack underflow"); return *(_sp++); } void *alloc(size_t size) { ! int count = align_up(size, wordSize) >> LogBytesPerWord; assert(count <= available_words(), "stack overflow"); return _sp -= count; } int shadow_pages_size() const {
< prev index next >