hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
changeset 24088 adf36ca51f17
parent 23486 36d781313d5a
child 24313 2e10cd8a870f
equal deleted inserted replaced
24022:3cedd541a6f3 24088:adf36ca51f17
  3186       }
  3186       }
  3187     } else {
  3187     } else {
  3188 #ifdef ASSERT
  3188 #ifdef ASSERT
  3189       Bytecodes::Code code = x->method()->raw_code_at_bci(x->bci_of_invoke());
  3189       Bytecodes::Code code = x->method()->raw_code_at_bci(x->bci_of_invoke());
  3190       int n = x->nb_profiled_args();
  3190       int n = x->nb_profiled_args();
  3191       assert(MethodData::profile_parameters() && x->inlined() &&
  3191       assert(MethodData::profile_parameters() && (MethodData::profile_arguments_jsr292_only() ||
  3192              ((code == Bytecodes::_invokedynamic && n <= 1) || (code == Bytecodes::_invokehandle && n <= 2)),
  3192                                                   (x->inlined() && ((code == Bytecodes::_invokedynamic && n <= 1) || (code == Bytecodes::_invokehandle && n <= 2)))),
  3193              "only at JSR292 bytecodes");
  3193              "only at JSR292 bytecodes");
  3194 #endif
  3194 #endif
  3195     }
  3195     }
  3196   }
  3196   }
  3197 }
  3197 }