aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/asm/assembler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/asm/assembler.hpp')
-rw-r--r--src/share/vm/asm/assembler.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/share/vm/asm/assembler.hpp b/src/share/vm/asm/assembler.hpp
index eb21a3d15..ec8ec5eb4 100644
--- a/src/share/vm/asm/assembler.hpp
+++ b/src/share/vm/asm/assembler.hpp
@@ -204,10 +204,11 @@ class AbstractAssembler : public ResourceObj {
CodeSection* _code_section; // section within the code buffer
OopRecorder* _oop_recorder; // support for relocInfo::oop_type
+ public:
// Code emission & accessing
address addr_at(int pos) const { return code_section()->start() + pos; }
-
+ protected:
// This routine is called with a label is used for an address.
// Labels and displacements truck in offsets, but target must return a PC.
address target(Label& L) { return code_section()->target(L, pc()); }