comparison src/share/vm/c1/c1_Instruction.cpp @ 6616:7a302948f5a4

7192167: JSR 292: C1 has old broken code which needs to be removed Reviewed-by: kvn, roland, jrose
author twisti
date Tue, 21 Aug 2012 10:48:50 -0700
parents 1d7922586cf6
children da91efe96a93
comparison
equal deleted inserted replaced
6615:09aad8452938 6616:7a302948f5a4
367 367
368 // provide an initial guess of signature size. 368 // provide an initial guess of signature size.
369 _signature = new BasicTypeList(number_of_arguments() + (has_receiver() ? 1 : 0)); 369 _signature = new BasicTypeList(number_of_arguments() + (has_receiver() ? 1 : 0));
370 if (has_receiver()) { 370 if (has_receiver()) {
371 _signature->append(as_BasicType(receiver()->type())); 371 _signature->append(as_BasicType(receiver()->type()));
372 } else if (is_invokedynamic()) {
373 // Add the synthetic MethodHandle argument to the signature.
374 _signature->append(T_OBJECT);
375 } 372 }
376 for (int i = 0; i < number_of_arguments(); i++) { 373 for (int i = 0; i < number_of_arguments(); i++) {
377 ValueType* t = argument_at(i)->type(); 374 ValueType* t = argument_at(i)->type();
378 BasicType bt = as_BasicType(t); 375 BasicType bt = as_BasicType(t);
379 _signature->append(bt); 376 _signature->append(bt);