comparison src/share/vm/asm/assembler.hpp @ 7476:ffa87474d7a4

8004537: replace AbstractAssembler emit_long with emit_int32 Reviewed-by: jrose, kvn, twisti Contributed-by: Morris Meyer <morris.meyer@oracle.com>
author twisti
date Mon, 07 Jan 2013 14:08:28 -0800
parents d02120b7a34f
children a5de0cc2f91c
comparison
equal deleted inserted replaced
7475:e2e6bf86682c 7476:ffa87474d7a4
213 address target(Label& L) { return code_section()->target(L, pc()); } 213 address target(Label& L) { return code_section()->target(L, pc()); }
214 214
215 bool is8bit(int x) const { return -0x80 <= x && x < 0x80; } 215 bool is8bit(int x) const { return -0x80 <= x && x < 0x80; }
216 bool isByte(int x) const { return 0 <= x && x < 0x100; } 216 bool isByte(int x) const { return 0 <= x && x < 0x100; }
217 bool isShiftCount(int x) const { return 0 <= x && x < 32; } 217 bool isShiftCount(int x) const { return 0 <= x && x < 32; }
218
219 void emit_long(jint x) { emit_int32(x); } // deprecated
220 218
221 // Instruction boundaries (required when emitting relocatable values). 219 // Instruction boundaries (required when emitting relocatable values).
222 class InstructionMark: public StackObj { 220 class InstructionMark: public StackObj {
223 private: 221 private:
224 AbstractAssembler* _assm; 222 AbstractAssembler* _assm;