changeset 4282:18c8cdc40cdf

Merge
author jiangli
date Fri, 01 Mar 2013 13:33:21 -0800
parents 0930637d6520 69ff881ab627
children 331dc65d57d7
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIR.cpp	Fri Mar 01 09:58:16 2013 -0800
+++ b/src/share/vm/c1/c1_LIR.cpp	Fri Mar 01 13:33:21 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));
         }