--- a/hotspot/src/share/vm/asm/assembler.hpp Tue Jan 28 11:21:43 2014 -0800
+++ b/hotspot/src/share/vm/asm/assembler.hpp Tue Jan 28 12:25:34 2014 -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()); }