comparison src/share/vm/runtime/deoptimization.cpp @ 5142:667c7bc2435b

Fix C++ code to allow successful build on Windows.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Wed, 21 Mar 2012 18:05:41 +0100
parents ab038e0d6b43
children 12706c5b39bc
comparison
equal deleted inserted replaced
5141:8ee021ee75db 5142:667c7bc2435b
207 // Java frame. This storage is allocated with the usual system arena. 207 // Java frame. This storage is allocated with the usual system arena.
208 assert(deoptee.is_compiled_frame(), "Wrong frame type"); 208 assert(deoptee.is_compiled_frame(), "Wrong frame type");
209 209
210 #ifdef GRAAL 210 #ifdef GRAAL
211 PcDesc* pc_desc = ((nmethod*) deoptee.cb())->pc_desc_at(deoptee.pc()); 211 PcDesc* pc_desc = ((nmethod*) deoptee.cb())->pc_desc_at(deoptee.pc());
212 int decode_offset;
213 if (pc_desc != NULL && pc_desc->leaf_graph_id() != -1) { 212 if (pc_desc != NULL && pc_desc->leaf_graph_id() != -1) {
214 GraalCompiler* compiler = (GraalCompiler*) ((nmethod*) deoptee.cb())->compiler(); 213 GraalCompiler* compiler = (GraalCompiler*) ((nmethod*) deoptee.cb())->compiler();
215 if (PrintDeoptimizationDetails) { 214 if (PrintDeoptimizationDetails) {
216 tty->print_cr("leaf graph id: %d", pc_desc->leaf_graph_id()); 215 tty->print_cr("leaf graph id: %d", pc_desc->leaf_graph_id());
217 } 216 }