equal
deleted
inserted
replaced
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 } |