8003868: fix shark for latest HotSpot and LLVM

Reviewed-by: twisti
This commit is contained in:
Roman Kennke 2012-11-27 12:48:52 -08:00 committed by Christian Thalinger
parent 31411dbc32
commit 96562be9e5
30 changed files with 329 additions and 380 deletions

View file

@ -80,6 +80,11 @@ void MacroAssembler::store_oop(jobject obj) {
emit_address((address) obj);
}
void MacroAssembler::store_Metadata(Metadata* md) {
code_section()->relocate(pc(), metadata_Relocation::spec_for_immediate());
emit_address((address) md);
}
static void should_not_call() {
report_should_not_call(__FILE__, __LINE__);
}