changeset 4511:69ff881ab627

Merge
author jiangli
date Fri, 01 Mar 2013 04:08:13 -0800
parents f33d68f8b40e ce0cee0f0e00
children 18c8cdc40cdf
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIR.cpp	Thu Feb 28 21:11:04 2013 -0800
+++ b/src/share/vm/c1/c1_LIR.cpp	Fri Mar 01 04:08:13 2013 -0800
@@ -805,7 +805,7 @@
 
       // only visit register parameters
       int n = opJavaCall->_arguments->length();
-      for (int i = 0; i < n; i++) {
+      for (int i = opJavaCall->_receiver->is_valid() ? 1 : 0; i < n; i++) {
         if (!opJavaCall->_arguments->at(i)->is_pointer()) {
           do_input(*opJavaCall->_arguments->adr_at(i));
         }