src/share/vm/c1/c1_LIRGenerator.cpp

changeset 6643
ce9fd31ffd14
parent 6223
add2caa66e7e
child 6668
45e59fae8f2b
equal deleted inserted replaced
6642:9eddc467297f 6643:ce9fd31ffd14
3184 } 3184 }
3185 } else { 3185 } else {
3186 #ifdef ASSERT 3186 #ifdef ASSERT
3187 Bytecodes::Code code = x->method()->raw_code_at_bci(x->bci_of_invoke()); 3187 Bytecodes::Code code = x->method()->raw_code_at_bci(x->bci_of_invoke());
3188 int n = x->nb_profiled_args(); 3188 int n = x->nb_profiled_args();
3189 assert(MethodData::profile_parameters() && x->inlined() && 3189 assert(MethodData::profile_parameters() && (MethodData::profile_arguments_jsr292_only() ||
3190 ((code == Bytecodes::_invokedynamic && n <= 1) || (code == Bytecodes::_invokehandle && n <= 2)), 3190 (x->inlined() && ((code == Bytecodes::_invokedynamic && n <= 1) || (code == Bytecodes::_invokehandle && n <= 2)))),
3191 "only at JSR292 bytecodes"); 3191 "only at JSR292 bytecodes");
3192 #endif 3192 #endif
3193 } 3193 }
3194 } 3194 }
3195 } 3195 }

mercurial