comparison src/share/vm/asm/assembler.hpp @ 18041:52b4284cb496

Merge with jdk8u20-b26
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 15 Oct 2014 16:02:50 +0200
parents 89152779163c
children
comparison
equal deleted inserted replaced
17606:45d7b2c7029d 18041:52b4284cb496
202 202
203 protected: 203 protected:
204 CodeSection* _code_section; // section within the code buffer 204 CodeSection* _code_section; // section within the code buffer
205 OopRecorder* _oop_recorder; // support for relocInfo::oop_type 205 OopRecorder* _oop_recorder; // support for relocInfo::oop_type
206 206
207 public:
207 // Code emission & accessing 208 // Code emission & accessing
208 address addr_at(int pos) const { return code_section()->start() + pos; } 209 address addr_at(int pos) const { return code_section()->start() + pos; }
209 210
210 211 protected:
211 // This routine is called with a label is used for an address. 212 // This routine is called with a label is used for an address.
212 // Labels and displacements truck in offsets, but target must return a PC. 213 // Labels and displacements truck in offsets, but target must return a PC.
213 address target(Label& L) { return code_section()->target(L, pc()); } 214 address target(Label& L) { return code_section()->target(L, pc()); }
214 215
215 bool is8bit(int x) const { return -0x80 <= x && x < 0x80; } 216 bool is8bit(int x) const { return -0x80 <= x && x < 0x80; }