8028514: PPC64: Fix C++ Interpreter after '7195622: CheckUnhandledOops has limited usefulness now'

Fix CPP-interpreter after CheckUnhandledOops was re-enabled in the fastdebug build

Reviewed-by: kvn, dholmes, lfoltan
This commit is contained in:
Volker Simonis 2013-11-19 11:53:58 -08:00
parent c16bc98686
commit 86fba81619
8 changed files with 16 additions and 16 deletions

View file

@ -395,7 +395,7 @@ protected:
}
static oop oop_at(DataLayout* layout, int index) {
return (oop)layout->cell_at(index);
return cast_to_oop(layout->cell_at(index));
}
static void set_intptr_at(DataLayout* layout, int index, intptr_t value) {
@ -1248,8 +1248,8 @@ public:
}
static Klass *receiver_unchecked(DataLayout* layout, uint row) {
oop recv = oop_at(layout, receiver_cell_index(row));
return (Klass *)recv;
Klass* recv = (Klass*)layout->cell_at(receiver_cell_index(row));
return recv;
}
static void increment_receiver_count_no_overflow(DataLayout* layout, Klass *rcvr) {