changeset 2443:dcfb3dede009

7042052: Xcomp crash with PopSynchronousTest Reviewed-by: kvn, iveresov
author never
date Wed, 04 May 2011 22:31:18 -0700
parents bad7ecd0b6ed
children 37e4df3c8952
files src/share/vm/runtime/deoptimization.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.cpp	Wed May 04 13:12:42 2011 -0700
+++ b/src/share/vm/runtime/deoptimization.cpp	Wed May 04 22:31:18 2011 -0700
@@ -437,7 +437,7 @@
                                                 deopt_sender.interpreter_frame_bci());
     Symbol* signature = method->constants()->signature_ref_at(cur.index());
     ArgumentSizeComputer asc(signature);
-    sender_callee_parameters = asc.size() + cur.has_receiver() ? 1 : 0;
+    sender_callee_parameters = asc.size() + (cur.has_receiver() ? 1 : 0);
   }
 
   // Compute the amount the oldest interpreter frame will have to adjust