Mercurial > hg > release > icedtea6-1.7
changeset 1695:175266c8ad02
2009-09-08 Gary Benson <gbenson@redhat.com>
* ports/hotspot/src/cpu/zero/vm/stack_zero.hpp: Whitespace changes.
author | Gary Benson <gbenson@redhat.com> |
---|---|
date | Tue, 08 Sep 2009 11:47:14 +0100 |
parents | b13a59d17b81 |
children | 97bab225c4d6 |
files | ChangeLog ports/hotspot/src/cpu/zero/vm/stack_zero.hpp |
diffstat | 2 files changed, 4 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Sep 08 11:46:08 2009 +0100 +++ b/ChangeLog Tue Sep 08 11:47:14 2009 +0100 @@ -1,3 +1,7 @@ +2009-09-08 Gary Benson <gbenson@redhat.com> + + * ports/hotspot/src/cpu/zero/vm/stack_zero.hpp: Whitespace changes. + 2009-09-08 Gary Benson <gbenson@redhat.com> * ports/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp
--- a/ports/hotspot/src/cpu/zero/vm/stack_zero.hpp Tue Sep 08 11:46:08 2009 +0100 +++ b/ports/hotspot/src/cpu/zero/vm/stack_zero.hpp Tue Sep 08 11:47:14 2009 +0100 @@ -45,7 +45,6 @@ _top = _base + (size >> LogBytesPerWord); _sp = _top; } - void teardown() { assert(!needs_setup(), "not set up"); assert(_sp == _top, "stuff on stack at teardown"); @@ -58,7 +57,6 @@ intptr_t *sp() const { return _sp; } - void set_sp(intptr_t *new_sp) { assert(_top >= new_sp && new_sp >= _base, "bad stack pointer"); _sp = new_sp; @@ -72,7 +70,6 @@ assert(_sp > _base, "stack overflow"); *(--_sp) = value; } - intptr_t pop() { assert(_sp < _top, "stack underflow"); return *(_sp++); @@ -88,11 +85,9 @@ static ByteSize base_offset() { return byte_offset_of(ZeroStack, _base); } - static ByteSize top_offset() { return byte_offset_of(ZeroStack, _top); } - static ByteSize sp_offset() { return byte_offset_of(ZeroStack, _sp); } @@ -139,7 +134,6 @@ intptr_t *addr_of_word(int offset) const { return (intptr_t *) this - offset; } - intptr_t value_of_word(int offset) const { return *addr_of_word(offset); } @@ -158,15 +152,12 @@ bool is_entry_frame() const { return type() == ENTRY_FRAME; } - bool is_interpreter_frame() const { return type() == INTERPRETER_FRAME; } - bool is_shark_frame() const { return type() == SHARK_FRAME; } - bool is_deoptimizer_frame() const { return type() == DEOPTIMIZER_FRAME; } @@ -176,17 +167,14 @@ assert(is_entry_frame(), "should be"); return (EntryFrame *) this; } - InterpreterFrame *as_interpreter_frame() const { assert(is_interpreter_frame(), "should be"); return (InterpreterFrame *) this; } - SharkFrame *as_shark_frame() const { assert(is_shark_frame(), "should be"); return (SharkFrame *) this; } - DeoptimizerFrame *as_deoptimizer_frame() const { assert(is_deoptimizer_frame(), "should be"); return (DeoptimizerFrame *) this;