Mercurial > hg > truffle
diff src/share/vm/asm/assembler.hpp @ 14437:15120a36272d
8028767: PPC64: (part 121): smaller shared changes needed to build C2
Summary: smaller shared changes required to build the C2 compiler on PPC64.
Reviewed-by: kvn
author | goetz |
---|---|
date | Thu, 21 Nov 2013 19:00:57 -0800 |
parents | a5de0cc2f91c |
children | abec000618bf |
line wrap: on
line diff
--- a/src/share/vm/asm/assembler.hpp Thu Nov 21 18:29:34 2013 -0800 +++ b/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()); }