Lines Matching defs:operands

102   void set_operands(typeArrayOop operands)     { oop_store_without_check((oop*)&_operands, operands); }
179 typeArrayOop operands() const { return _operands; }
517 return operand_offset_at(operands(), bootstrap_specifier_index);
519 // The first part of the operands array consists of an index into the second part.
521 static int operand_offset_at(typeArrayOop operands, int bootstrap_specifier_index) {
523 assert(n >= 0 && n+2 <= operands->length(), "oob");
525 // of the operands array. Make sure this index is in the first part.
526 DEBUG_ONLY(int second_part = build_int_from_shorts(operands->short_at(0),
527 operands->short_at(1)));
529 int offset = build_int_from_shorts(operands->short_at(n+0),
530 operands->short_at(n+1));
532 assert(offset == 0 || offset >= second_part && offset <= operands->length(), "oob (3)");
535 static void operand_offset_at_put(typeArrayOop operands, int bootstrap_specifier_index, int offset) {
537 assert(n >= 0 && n+2 <= operands->length(), "oob");
538 operands->short_at_put(n+0, extract_low_short_from_int(offset));
539 operands->short_at_put(n+1, extract_high_short_from_int(offset));
541 static int operand_array_length(typeArrayOop operands) {
542 if (operands == NULL || operands->length() == 0) return 0;
543 int second_part = operand_offset_at(operands, 0);
549 static int operand_limit_at(typeArrayOop operands, int bootstrap_specifier_index) {
551 if (nextidx == operand_array_length(operands))
552 return operands->length();
554 return operand_offset_at(operands, nextidx);
558 return operand_limit_at(operands(), bootstrap_specifier_index);
562 // layout of InvokeDynamic bootstrap method specifier (in second part of operands array):
571 return operands()->short_at(op_base + _indy_bsm_offset);
576 int argc = operands()->short_at(op_base + _indy_argc_offset);
584 DEBUG_ONLY(int argc = operands()->short_at(op_base + _indy_argc_offset));
586 return operands()->short_at(op_base + _indy_argv_offset + j);