src/share/vm/asm/assembler.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/asm/assembler.hpp	Wed Dec 12 17:34:32 2012
--- new/src/share/vm/asm/assembler.hpp	Wed Dec 12 17:34:32 2012

*** 214,233 **** --- 214,223 ---- bool is8bit(int x) const { return -0x80 <= x && x < 0x80; } bool isByte(int x) const { return 0 <= x && x < 0x100; } bool isShiftCount(int x) const { return 0 <= x && x < 32; } void emit_int8( int8_t x) { code_section()->emit_int8( x); } void emit_int16( int16_t x) { code_section()->emit_int16( x); } void emit_int32( int32_t x) { code_section()->emit_int32( x); } void emit_int64( int64_t x) { code_section()->emit_int64( x); } void emit_float( jfloat x) { code_section()->emit_float( x); } void emit_double( jdouble x) { code_section()->emit_double( x); } void emit_address(address x) { code_section()->emit_address(x); } void emit_byte(int x) { emit_int8 (x); } // deprecated void emit_word(int x) { emit_int16(x); } // deprecated void emit_long(jint x) { emit_int32(x); } // deprecated // Instruction boundaries (required when emitting relocatable values). class InstructionMark: public StackObj {
*** 286,295 **** --- 276,294 ---- AbstractAssembler(CodeBuffer* code); // ensure buf contains all code (call this before using/copying the code) void flush(); + void emit_int8( int8_t x) { code_section()->emit_int8( x); } + void emit_int16( int16_t x) { code_section()->emit_int16( x); } + void emit_int32( int32_t x) { code_section()->emit_int32( x); } + void emit_int64( int64_t x) { code_section()->emit_int64( x); } + + void emit_float( jfloat x) { code_section()->emit_float( x); } + void emit_double( jdouble x) { code_section()->emit_double( x); } + void emit_address(address x) { code_section()->emit_address(x); } + // min and max values for signed immediate ranges static int min_simm(int nbits) { return -(intptr_t(1) << (nbits - 1)) ; } static int max_simm(int nbits) { return (intptr_t(1) << (nbits - 1)) - 1; } // Define some:
*** 325,336 **** --- 324,333 ---- address inst_mark() const { return code_section()->mark(); } void set_inst_mark() { code_section()->set_mark(); } void clear_inst_mark() { code_section()->clear_mark(); } // Constants in code void a_byte(int x); void a_long(jint x); void relocate(RelocationHolder const& rspec, int format = 0) { assert(!pd_check_instruction_mark() || inst_mark() == NULL || inst_mark() == code_section()->end(), "call relocate() between instructions"); code_section()->relocate(code_section()->end(), rspec, format);

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