Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCodeInstaller.cpp @ 6515:e722fa145b37
Fixed VS2010 warnings in HotSpot.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Fri, 05 Oct 2012 10:13:19 +0200 |
parents | c8759f9f9e3c |
children | 2a0c9f20baa1 |
comparison
equal
deleted
inserted
replaced
6512:edea9ba7ac7b | 6515:e722fa145b37 |
---|---|
452 reexecute = false; | 452 reexecute = false; |
453 } else { | 453 } else { |
454 Bytecodes::Code code = Bytecodes::java_code_at(method, method->bcp_from(bci)); | 454 Bytecodes::Code code = Bytecodes::java_code_at(method, method->bcp_from(bci)); |
455 reexecute = Interpreter::bytecode_should_reexecute(code); | 455 reexecute = Interpreter::bytecode_should_reexecute(code); |
456 if (frame != NULL) { | 456 if (frame != NULL) { |
457 reexecute = (BytecodeFrame::duringCall(frame) == 0); | 457 reexecute = (BytecodeFrame::duringCall(frame) == JNI_FALSE); |
458 } | 458 } |
459 } | 459 } |
460 | 460 |
461 if (TraceGraal >= 2) { | 461 if (TraceGraal >= 2) { |
462 tty->print_cr("Recording scope pc_offset=%d bci=%d frame=%d", pc_offset, bci, frame); | 462 tty->print_cr("Recording scope pc_offset=%d bci=%d frame=%d", pc_offset, bci, frame); |
508 | 508 |
509 DebugToken* locals_token = _debug_recorder->create_scope_values(locals); | 509 DebugToken* locals_token = _debug_recorder->create_scope_values(locals); |
510 DebugToken* expressions_token = _debug_recorder->create_scope_values(expressions); | 510 DebugToken* expressions_token = _debug_recorder->create_scope_values(expressions); |
511 DebugToken* monitors_token = _debug_recorder->create_monitor_values(monitors); | 511 DebugToken* monitors_token = _debug_recorder->create_monitor_values(monitors); |
512 | 512 |
513 bool throw_exception = BytecodeFrame::rethrowException(frame); | 513 bool throw_exception = BytecodeFrame::rethrowException(frame) == JNI_TRUE; |
514 | 514 |
515 _debug_recorder->describe_scope(pc_offset, method, NULL, bci, reexecute, throw_exception, false, false, locals_token, expressions_token, monitors_token); | 515 _debug_recorder->describe_scope(pc_offset, method, NULL, bci, reexecute, throw_exception, false, false, locals_token, expressions_token, monitors_token); |
516 } | 516 } |
517 | 517 |
518 void CodeInstaller::site_Safepoint(CodeBuffer& buffer, jint pc_offset, oop site) { | 518 void CodeInstaller::site_Safepoint(CodeBuffer& buffer, jint pc_offset, oop site) { |