diff 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
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp	Fri Oct 05 09:48:01 2012 +0200
+++ b/src/share/vm/graal/graalCodeInstaller.cpp	Fri Oct 05 10:13:19 2012 +0200
@@ -454,7 +454,7 @@
     Bytecodes::Code code = Bytecodes::java_code_at(method, method->bcp_from(bci));
     reexecute = Interpreter::bytecode_should_reexecute(code);
     if (frame != NULL) {
-      reexecute = (BytecodeFrame::duringCall(frame) == 0);
+      reexecute = (BytecodeFrame::duringCall(frame) == JNI_FALSE);
     }
   }
 
@@ -510,7 +510,7 @@
   DebugToken* expressions_token = _debug_recorder->create_scope_values(expressions);
   DebugToken* monitors_token = _debug_recorder->create_monitor_values(monitors);
 
-  bool throw_exception = BytecodeFrame::rethrowException(frame);
+  bool throw_exception = BytecodeFrame::rethrowException(frame) == JNI_TRUE;
 
   _debug_recorder->describe_scope(pc_offset, method, NULL, bci, reexecute, throw_exception, false, false, locals_token, expressions_token, monitors_token);
 }