--- a/hotspot/src/share/vm/asm/assembler.hpp Thu Nov 21 18:29:34 2013 -0800
+++ b/hotspot/src/share/vm/asm/assembler.hpp Thu Nov 21 19:00:57 2013 -0800
@@ -204,10 +204,11 @@
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()); }