Mercurial > hg > truffle
comparison src/cpu/zero/vm/assembler_zero.cpp @ 7195:2cd5e15048e6
8003868: fix shark for latest HotSpot and LLVM
Reviewed-by: twisti
Contributed-by: Roman Kennke <rkennke@redhat.com>
author | twisti |
---|---|
date | Tue, 27 Nov 2012 12:48:52 -0800 |
parents | f95d63e2154a |
children | f0c2369fda5a |
comparison
equal
deleted
inserted
replaced
7194:beebba0acc11 | 7195:2cd5e15048e6 |
---|---|
78 void MacroAssembler::store_oop(jobject obj) { | 78 void MacroAssembler::store_oop(jobject obj) { |
79 code_section()->relocate(pc(), oop_Relocation::spec_for_immediate()); | 79 code_section()->relocate(pc(), oop_Relocation::spec_for_immediate()); |
80 emit_address((address) obj); | 80 emit_address((address) obj); |
81 } | 81 } |
82 | 82 |
83 void MacroAssembler::store_Metadata(Metadata* md) { | |
84 code_section()->relocate(pc(), metadata_Relocation::spec_for_immediate()); | |
85 emit_address((address) md); | |
86 } | |
87 | |
83 static void should_not_call() { | 88 static void should_not_call() { |
84 report_should_not_call(__FILE__, __LINE__); | 89 report_should_not_call(__FILE__, __LINE__); |
85 } | 90 } |
86 | 91 |
87 address ShouldNotCallThisStub() { | 92 address ShouldNotCallThisStub() { |