src/share/vm/code/vmreg.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/code/vmreg.hpp	Fri Jul 13 20:36:16 2012
--- new/src/share/vm/code/vmreg.hpp	Fri Jul 13 20:36:16 2012

*** 129,138 **** --- 129,142 ---- // have an expressible part. That would be pd specific code VMReg next() { assert((is_reg() && value() < stack0->value() - 1) || is_stack(), "must be"); return (VMReg)(intptr_t)(value() + 1); } + VMReg next(int i) { + assert((is_reg() && value() < stack0->value() - i) || is_stack(), "must be"); + return (VMReg)(intptr_t)(value() + i); + } VMReg prev() { assert((is_stack() && value() > stack0->value()) || (is_reg() && value() != 0), "must be"); return (VMReg)(intptr_t)(value() - 1); }

src/share/vm/code/vmreg.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File