icBuffer_sparc.cpp revision 1879
9N/A * or visit www.oracle.com if you need additional information or have any
9N/A#include "precompiled.hpp"
9N/A#include "asm/assembler.hpp"
9N/A#include "assembler_sparc.inline.hpp"
9N/A#include "code/icBuffer.hpp"
9N/A#include "gc_interface/collectedHeap.inline.hpp"
9N/A#include "interpreter/bytecodes.hpp"
9N/A#include "memory/resourceArea.hpp"
9N/A#include "nativeInst_sparc.hpp"
9N/A#include "oops/oop.inline.hpp"
9N/A#include "oops/oop.inline2.hpp"
9N/A return (2+2+ 1) * wordSize + 1; // set/jump_to/nop + 1 byte so that code_end can be set in CodeBuffer
9N/Avoid InlineCacheBuffer::assemble_ic_buffer_code(address code_begin, oop cached_oop, address entry_point) {
9N/A assert(G3_scratch != G5_inline_cache_reg, "Do not clobber the inline cache register in the transition stub");
9N/A NativeMovConstReg* move = nativeMovConstReg_at(code_begin); // creation also verifies the object
9N/A NativeMovConstReg* move = nativeMovConstReg_at(code_begin); // creation also verifies the object