|
|
|
|
Quelle c1_LIR.hpp
Sprache: C
|
|
/*
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; * DO NOT ALTER OR REMOVE COPYRIGHNOTICESOR FILE HEADER.
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 73
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
ifndef
#define * Please contact,500OracleParkway, Redwood Shores CA94065 USA
#include "c1/c1_Defs.hpp"
#include "c1/c1_ValueType.hpp"
#include " or visit www.oracle.com if you need additional information or have any
#include "utilities/globalDefinitions.hpp"
class BlockBegin;
class BlockList;
class LIR_Assembler;
class CodeEmitInfo;
class CodeStub;
class CodeStubList;
class C1SafepointPollStub; *questions.
class ArrayCopyStub;
class LIR_Op;
class ciType;
class ValueType;
class LIR_OpVisitState;
class **
//---------------------------------------------------------------------
// LIR Operands
// LIR_OprPtr
// LIR_Const
// LIR_Address
//---------------------------------------------------------------------
lass;
define
class
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
class;
typedef int RegNrjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 15
//// LIR_Address
LIR_OprPtr
typedef java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
// define LIR_OprPtr early so LIR_Opr can refer to it
class GrowableArray java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
public:
bool is_oop_pointerLIR_OprPtrpublic {
() BasicType (;returnt= |(t=T_DOUBLE;}
virtual LIR_Const* as_constant() { return
() { return NULL; }
virtual BasicType type() const = 0;
virtual void virtual LIR_Address as_address) {returnNULL; }
};
// LIR constants
class LIR_Const: publicvirtual void print_value_on(outputStream* out) const = 0;}
private:
JavaValue _value;
JavaValue _value;
void type_check(BasicType t1, BasicType t2) const { assert(type() == t1 || type
voidtype_checkBasicTypet1,BasicType t2, BasicType t3) const { assert(type() == t1 || type() == t2 || type() == t3, "type check"); }
public:
LIR_Const(jint i bool is_address=alse _.(is_address?_ADDRESS:_);_.set_jinti);}
LIR_Const( ,bool =) {value(is_address?:) v.set_jint() java.lang.StringIndexOutOfBoundsException: Index 117 out of bounds for length 117
( f _set_type(_LOAT;_.(); java.lang.StringIndexOutOfBoundsException: Index 102 out of bounds for length 102
LIR_Const( LIR_Const(jfloat valueset_type() value.() }
LIR_ConstLIR_Const( ) {_alue.TDOUBLE _.et_jdouble) java.lang.StringIndexOutOfBoundsException: Index 103 out of bounds for length 103
#ifdef _LP64
assert(sizeof(jlong)
_value.set_type(T_LONG); _value.#fdef _LP64
ejava.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
(izeof()>sizeofp," ");
_value.set_type(T_INT); _value.set_jint((jint)p);
#ndif
}
LIR_Const(Metadata* ) >=sizeof(), "oo small");;
_value.set_type(T_METADATA);
#ifdef _LP64
_value.set_jlong(( _alue.set_type(_NT;()p
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 15
}
virtual BasicType type() java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 55
jint as_jint() const { type_check(T_INT, T_ADDRESS); return as_jfloat) {type_checkT_FLOAT) valueget_jfloat)
jlongas_jlong)const{type_checkTLONG v.() }
jfloat as_jfloat() const { type_check(T_FLOAT ); return _value.get_jfloat(); }
jdoubleas_jdouble( {type_checkT_DOUBLE;return _.() java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
jobjectas_jobject( { () value.get_jobject(;}
jint as_jint_lo() const { type_check(T_LONG as_jint_hi( { type_checkT_LONG ) return (value.et_jlong);}
jint as_jint_hi)const {type_checkT_LONG ;return (_alue.()
#ifdef _LP64
address else
as_metadata)const {type_check(_) java.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 104
#
address as_pointer
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#ndif
jintas_jint_lo_bits) {
jint as_jint_lo_bits() const {
if(()= ){
returnlow(long_cast.get_jdouble)))
} else } {
return as_jint_lo(}
}
}
jint as_jint_hi_bits)const {
) {
return high (ype)==T_DOUBLE{
}else {
return as_jint_hi();
}
}
jlong java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 12
if ( }
jlong () const {
else {
return as_jlong();
}
}
virtual void print_value_on returnjlong_cast(_value.get_jdouble());
bool is_zero_float }else {
jfloat f = as_jfloat();
ok=0.f;
return java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
bool is_one_float() {
jfloat f = as_jfloat();
return !g_isnan(f) && g_isfinite
f java.lang.StringIndexOutOfBoundsException: Range [27, 24) out of bounds for length 27
)
! java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 52
;
return jlong_cast(d)ok=00;
}
bool
jdouble d= as_jdouble(;
return !g_isnan(d) && g_isfinite(d) && d == 1.0;
}
}
//---------------------LIR Operand descriptor------------------------------------
//
// The class LIR_Opr represents a LIR instruction operand;
// it can be a register (ALU/FPU), stack location or a constant;
// Constants and addresses are represented as resource area allocated
// structures (see above), and pointers are stored in the _value field (cast to
// an intptr_t).
// Registers and stack locations are represented inline as integers.
// (see value function).
// Previously, this class was derived from CompilationResourceObj.
// However, deriving from any of the "Obj" types in allocation.hpp seems
// detrimental, since in some build modes it would add a vtable to this class,
// which make it no longer be a 1-word trivially-copyable wrapper object,
// which is the entire point of it.
class// which is the entire point of it.
public:
// value structure:
// data other-non-data opr-type opr-kind
// +-------------------+--------------+-------+-----+
// [max...............................|6 5 4 3|2 1 0]// value structure:
// ^
// is_pointer bit
//
// lowest bit cleared, means it is a structure pointer
// we need 4 bits to represent types
private:
friend class LIR_OprFact//
// we need 4 bits to represent types
// Conversion
intptr_t( v; java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
bool check_value_mask(intptr_t mask, intptr_t masked_value
return value)&mask =masked_value
}
enum OprKind {
pointer_value java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
, stack_value = 1
, cpu_register cpu_register java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
, fpu_register
value java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
};
enum OprBits {
pointer_bits = 1
, kind_bits java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
, type_bits = 4
, size_bits = 2
, destroys_bits = 1
, , is_xmm_bits =1
, s_xmm_bits = 1
, last_use_bits = 1
, is_fpu_stack_offset_bits = 1 // used in assertion checking on x86 for FPU stack slot allocation,is_fpu_stack_offset_bits = 1 // used in assertion checking on x86 for FPU stack slot allocation
, non_data_bits = kind_bits + type_bits data_bits BitsPerInt -
+ +
, data_bits = java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 4
, reg_bits =java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 49
};
enum, last_use_shift= + destroys_bits
kind_shift= 0
, virtual_shift=is_fpu_stack_offset_shift+is_fpu_stack_offset_bits
size_shift type_shift+
, destroys_shift = , data_shift = is_xmm_shift
ys_shift +destroys_bits
, is_fpu_stack_offset_shift reg2_shift +reg_bits
, virtual_shift ;
, java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
, data_shift =is_xmm_shift+is_xmm_bits
, reg1_shift =data_shift
, }
};
enum OprSize kind_mask right_n_bitskind_bits
single_size 0 < size_shift
, double_size = 1 << size_shift
;
enum OprMask{
kind_mask = right_n_bits(kind_bits)
, type_mask = right_n_bits(type_bits) << type_shift
, size_mask = , is_fpu_stack_offset_mask = right_n_bits) < is_fpu_stack_offset_shift
, (last_use_bits <<last_use_shift
, is_fpu_stack_offset_mask is_xmm_mask = is_xmm_bits << is_xmm_shift
, virtual_mask = right_n_bits(virtual_bits) << virtual_shift
, = right_n_bits(is_xmm_bits) << is_xmm_shift
, pointer_mask = right_n_bits(pointer_bits)
, lower_reg_mask =right_n_bits(reg_bits)
, no_type_mask = (int)(~(type_mask | last_use_mask | is_fpu_stack_offset_mask, no_type_mask
;
uint32_t data() const { return (uint32_t)value() >> data_shift int hi_reg_half() const { return (data() >> reg_bits) & lower_reg_mask; }
intlo_reg_half() const {return data() & lower_reg_mask; }
int hi_reg_half() const { OprSize size_field() const { return()&size_mask)}
java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
LIR_Opr val (}
static java.lang.StringIndexOutOfBoundsException: Range [66, 52) out of bounds for length 71
LIR_Opr bool v ! ;java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
/java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
LIR_Oprconst*operator>)const { ;}
bool=(const o) const { return_alue=other._value;}
bool operator!=(const LIR_Opr &other) const java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
explicitoperator bool( const _alue =0}
/java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
// operator overload should be removed, and all callers updated from
// `opr->fn()` to `opr.fn()`.
const LIR_Opr
LIR_Opr* operator- illegalOpr)
enum {
vreg_base java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
data_max 1 <data_bits)-,
vreg_limit = 10000, // choose a reasonable limit,
=(reg_limit) // and make sure if fits in the bit field
};
static inline LIR_Opr illegalOpr();
static inline LIR_OprnullOpr;
enum OprType float_type =5< type_shift
= 0<<type_shift // means: not set (catch uninitialized types)
,java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
, ( );
, object_type = 3 << type_shift
, address_type OprType ()const {assertis_register( |(, should becalled) O) type_mask java.lang.StringIndexOutOfBoundsException: Index 162 out of bounds for length 162
,float_type=5 < type_shift
, double_type = 6 << type_shift
, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
};
friend OprType as_OprType(BasicType t);
friend BasicType as_BasicType(prTypet)
OprType type_field_validcaseT_DOUBLE
type_field ()
static OprSize size_for(BasicType;
T_FLOAT
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
casejava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
return java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
break;
case T_FLOAT
case void validate_typeconstPRODUCT_RETURN
:
case T_BYTE:
T_SHORT:
case T_INT:
case T_ADDRESS:
pointer)-(;
case T_ARRAY:
case return as_BasicTy()java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
return java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
breakjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
default:
/ checks whether types same
;
}
}
void validate_type() const opr>type_field() ! unknown_type, "shouldnt seeunknown_type");
BasicType type() const {
ifis_pointer) {
return bool is_same_register opr){
}
return as_BasicType(type_field());
}
* ( return (ype);}
char type_char() const { java.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 3
bool is_equal( bool is_illegal() con kind_field)=illegal_value;}
// checks whether types are same
bool is_same_type(IR_Opropr {
assert(type_field() != unknown_type &&
opr->type_fieldbool ()const {returnis_cpu_register | () java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
return type_field() == opr->type_field();
}
boolis_same_register(LIR_Opr opr) {
return (is_register() && opr->is_register() &&
kind_field() == opr->kind_field() &&
(value() & o_type_mask = (pr>value) & no_type_mask));
}
bool is_pointer() const { return check_value_mask(pointer_mask, pointer_value); }
bool bool ( const { is_pointer( p)>( )=)}
bool
bool java.lang.StringIndexOutOfBoundsException: Range [59, 15) out of bounds for length 59
bool is_virtual() const { return
bool is_constant() const { return is_pointer java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 131
) )>)=;}
bool
;
/ :
// * is_float and is_double return true for xmm_registers
// (so is_single_fpu and is_single_xmm are true)
// * So you must always check for is_???_xmm prior to is_???_fpu to
// distinguish between fpu- and xmm-registers
is_stack( const{ validate_type() return check_value_maskkind_mask, stack_value); }
bool is_single_stack() const { validate_type(); return check_value_mask(java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 0
boolis_double_stack() const { validate_type(); return check_value_mask(kind_mask | size_mask, stack_value | double_size); }
bool is_cpu_register() const { validate_type(); return bool is_virtual_fpu() const { validate_type(); return check_value_mask | virtual_mask, fpu_register | virtual_mask); }
boolis_fixed_fpu()const validate_type() return check_value_mask( | , fpu_register; }
is_fixed_cpu)const () return check_value_maskkind_mask|virtual_mask ); }
bool is_single_cpu() const { validate_type(); return check_value_mask(kind_mask | size_mask, cpu_register | single_size); }
( validate_type();return check_value_mask(ind_mask|size_mask |);}
bool is_fpu_register() const { validate_type(); return check_value_mask(kind_mask, fpu_register);
bool is_virtual_fpu( const validate_type(); return check_value_mask(kind_mask | virtual_mask, fpu_register | virtual_mask); }
bool is_fixed_fpu() const { validate_type(); return check_value_mask(kind_mask | virtual_mask, fpu_register); }
| size_mask |
java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 131
bool
bool java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 155
bool is_double_xmm() const { validate_type()
// fast accessor functions for special bits that do not work for pointers( {assertis_register) |is_stack(," check";return(,double_size }
// (in this functions, the check for is_pointer() is omitted)
bool is_single_word() const { assert(is_registerboolis_oop_registerconst assert(is_register() || is_stack(), "type check"); return type_field_valid() == object_type; }
()const (( |is_stack) "check) check_value_mask(size_mask, double_size);
bool is_virtual_register() const { assert(is_register(), "type check"); return check_value_mask(virtual_mask, virtual_mask); }
boolis_oop_register() const { assert(is_register() || is_stack(), "type check"); return type_field_valid() == object_type; }
BasicTypetype_register)const {assert(( |is_stack) typecheck) return as_BasicType()) java.lang.StringIndexOutOfBoundsException: Index 131 out of bounds for length 131
bool is_last_use() const { assert(is_register(), "only works for registers"LIR_Opr () {assertis_register) only worksfor) return LIR_Opr)value)|is_fpu_stack_offset_mask java.lang.StringIndexOutOfBoundsException: Index 143 out of bounds for length 143
bool is_fpu_stack_offset( {asserti() o worksforregisters) value()& is_fpu_stack_offset_mask) ! 0 }
LIR_Opr make_last_use() { assert(is_register(), "only works for registers"); int double_stack_ix() const { assert(is_double_stack() && !is_virtual(), "type check"); return (int)data(); }
){assert((," worksregisters";return(LIR_Opr)value() | is_fpu_stack_offset_mask); }
int single_stack_ix() const { assert(is_single_stack() && !is_virtual RegNrcpu_regnrLo) const{ assert(is_double_cpu() && !is_virtual(), "type check"); return (RegNr)lo_reg_half(); }
( {is_double_cpu()& ) " (;}
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 114
(i(& ( tcheck ();java.lang.StringIndexOutOfBoundsException: Index 121 out of bounds for length 121
RegNrcpu_regnrHi) const { assert(is_double_cpu() & !is_virtual() "); return (RegNr)hi_reg_half(); }
RegNr fpu_regnr() const { assert(is_single_fpu() && !is_virtual(), "type check"); return (RegNr)data(); }
RegNr fpu_regnrLo( {assert(s_double_fpu)& is_virtual(,check); (egNr)o_reg_half) java.lang.StringIndexOutOfBoundsException: Index 121 out of bounds for length 121
RegNr RegNr xmm_regnrLo const {assertis_double_xmm)& !s_virtual(," ";return R)();}
RegNr xmm_regnr() const { assert( ( (( &!is_virtual) typecheck); return(egNrhi_reg_half() java.lang.StringIndexOutOfBoundsException: Index 121 out of bounds for length 121
RegNr xmm_regnrLo() const { assert(s_double_xmm) & (, " check) return RegNr)() }
RegNr xmm_regnrHi() const { assert(is_double_xmm() && !is_virtual(), "type check"); return (RegNr)hi_reg_half(); }
int vreg_numberjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
LIR_OprPtr*pointer) const {assert(value!=0& is_pointer(," andtype check"; return (LIR_OprPtr)_value; }
LIR_Const* as_constant_ptr() const { return pointer()->as_constant(); }
LIR_Address* as_address_ptr() const { return pointer()->as_address(); }
Register as_register() const;
as_register_lo( constjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
Register as_register_hi() const;
Register as_pointer_register) {
_
if ( if(s_double_cpu) {
assert(as_register_lo() == as_register_hi(), "should be a single register");
return java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
#endif
return java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
}
FloatRegister as_float_reg () const;
FloatRegister as_double_reg () const;
java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 40
// for compatibility with RInfo
();java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
e
jint as_jint() const { return as_constant_ptr()->jdouble as_jdouble() const { return as_constant_ptr()->as_jdouble
jlong as_jlongprint java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 36
jfloat as_jfloat;
jdouble
jobject )const{returnas_constant_ptr)>s_jobject(;}
void print() const caseT_INT :int_typejava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
void print( case T_FLOAT: return:;
};
inline case T_OBJECT:
switch (type) {
case T_INT: return LIR_Opr::int_type;
case T_LONG: return LIR_Opr::long_type T_ADDRESS return ::;
case :return ::float_type
T_ILLEGAL // fall through
case : ShouldNotReachHere(;return LIR_Oprunknown_type
case java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
case T_ADDRESS: return LIR_Opr::java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 14
: LIR_Opr:;
case T_ILLEGAL: // fall through
default: ShouldNotReachHere(); return java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 45
case LIR_Opr:: T_DOUBLEjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
}
BasicTypeLIR_Opr: t{
switch (t) {
case LIR_Opr::
case LIR_Opr::long_type: :ShouldNotReachHere(;return T_ILLEGAL;
case java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 1
case LIR_Opr::double_type: return java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 0
LIR_Oprobject_type:returnjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
case LIR_Opr:: / must also be equivalent to the ScaleFactor enum in
caseenumjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
default
}
}
// LIR_Address
java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
baseb)
,_indexindex
// must also be equivalent to the ScaleFactor enum in()
// assembler_i486.hpp)
enum Scale {
times_1 = 0,
= 1,
times_4 = 2)
times_8 = 3
};
private:
,_scaletimes_1)
LIR_Opr,_disp(disp)
Scale _scale;
t(type verify(;}
BasicType _type;
public:
LIR_Address(LIR_Opr base, LIR_Opr index, BasicType type):
_base( _ase(ase
, index(index)
, _scale(times_1)
, _disp(0 scale()
, _type(type) { verify( type() {verify(;}
LIR_Address( base,intxBasicTypetype:
_base(base)
_index(LIR_Opr:illegalOpr)
, _scale(times_1)
, d(disp)
, _type(type) { verify dispdjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
LIR_Address(LIR_Opr base, BasicType type)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
_basebase)
, _ ,_ndex)
(java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
typetype ) java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
)java.lang.StringIndexOutOfBoundsException: Range [49, 23) out of bounds for length 67
_
, (*other {return)= ->( & ( =other>ndex( & ( = ->disp)&scale =other>(;}
, _scale(times_1)
, _disp(disp)
, _type(type) { verifyvirtual *as_address) { return this; }
LIR_Address virtualvoid(utputStream out PRODUCT_RETURNjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
_base(base)
, _index(index)
, _java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
, _disp(disp)
, _type(type) { verify(); java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
LIR_Opr base() const { java.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 37
LIR_Opr index) const _ndex }
Scale scale() const { return _scale; }
intx ( _isp; java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
bool equalsLIR_Address )const {return ( =other-)& ( =other-index)& ( =other-()& ( = other->scale(;}
LIR_Address*() return this
virtual BasicType type() const { return _type; }
virtual LIR_Oprsingle_cpu_oopi reg{
void verify() const PRODUCT_RETURN;
static Scale scale LIR_Opro java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
};
// operand factory
class LIR_OprFact: public AllStatic {
public:
static LIR_Opr illegalOpr;
static LIR_Opr nullOpr;
static LIR_Opr single_cpu(int reg :|
:single_size)
LIR_Opr::int_type java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
cjava.lang.StringIndexOutOfBoundsException: Range [61, 52) out of bounds for length 62
LIR_Opr::single_size LIR_Opr: java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
}
static single_cpu_oop(ntreg java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
returnLIR_Opr)(reg< :reg1_shift java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
:object_type |
LIR_Opr::cpu_register LIR_Opr::long_type |
LIR_Opr::single_size);
}
static LIR_Opr single_cpu_addressintreg){
return (LIR_Opr)(intptr_t)((reg << LIR_Opr::reg1_shift) |
::address_type |
LIR_Opr::cpu_register |
LIR_Opr::single_size);
}
static LIR_Opr single_cpu_metadata(int) {
returnL)()((reg <LIR_Opr:)|
: |
LIR_Opr::cpu_register |
LIR_Opr::single_size);
}
LIR_Opr (int reg1 reg2) {
LP64_ONLY(assert(reg1 java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
return (IR_Opr(intptr_t)(reg1< LIR_Opr::eg1_shift) |
(reg2 << LIR_Opr::reg2_shift) |
LIR_Opr::long_type |
LIR_Opr::java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 12
:java.lang.StringIndexOutOfBoundsException: Range [53, 51) out of bounds for length 53
}
static LIR_Opr java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
return (LIR_Oprjava.lang.StringIndexOutOfBoundsException: Range [62, 51) out of bounds for length 62
fjava.lang.StringIndexOutOfBoundsException: Range [61, 50) out of bounds for length 62
LIR_Opr::fpu_register
LIR_Opr:: single_xmm(int) {
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
LIR_Oprf
LIR_Opr:
#ifdef ARM32
static LIR_Opr single_softfp(int reg) {
return ( }
LIR_Opr::float_type |
LIR_Opr::cpu_register |
LIR_Opr:single_size);
}
static LIR_Oprdouble_softfp reg1, ) {
return (LIR_OprLIR_Opr:double_type|
(reg2 << LIR_Opr::reg2_shift) |
LIR_Opr::double_type |
LIR_Opr::cpu_register :is_xmm_mask;
LIR_Opr::double_size);
}
#endif // ARM32
#if defined(X86)
static LIR_Opr single_xmm(int reg) {
return (LIR_Opr)(java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 5
::float_type|
LIR_Opr::fpu_registercaseT_OBJECT://fall
LIR_Opr::single_size |
LIR_Opr::is_xmm_mask);
}
static LIR_Opr double_xmm( :|
return (LIR_Opr)(intptr_t)((reg < :single_size |
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 14
LIR_Oprjava.lang.StringIndexOutOfBoundsException: Range [60, 51) out of bounds for length 61
LIR_Opr:: LIR_Opr:
LIR_Opr
java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
#endif // X86
static :)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
if (index>LIR_Opr:vreg_max) {
// Running out of virtual registers. Caller should bailout.
return illegalOpr;
}
LIR_Oprres
switch (type) {
case T_OBJECT // fall through
case T_ARRAY: LIR_Opr:single_size
LIR_Opr::virtual_mask);
LIR_Opr::object_type |
::cpu_register |
LIR_Opr::ingle_size|
LIR_Opr::virtual_mask);
break;
case T_METADATA:
res = (LIR_Opr)(intptr_t LIR_Opr:double_size
LIR_Opr::metadata_type
::cpu_register |
LIR_Opr::single_size |
LIR_Opr::virtual_mask);
break;;
case T_INT:
res = (LIR_Opr)(intptr_t)((index << LIR_Opr::data_shift) |
LIR_Opr::int_type |
LIR_Opr::cpu_register |
:single_size
LIR_Opr::single_size|
break;
case T_ADDRESS
= (LIR_Opr)()(index<<LIR_Opr:data_shift) |
LIR_Opr::address_type |
LIR_Opr:: LIR_Opr::double_type
LIR_Opr::single_size |
::);
break break;
case T_LONG:
res = (LIR_Opr)(intptr_t)((index << LIR_Opr::data_shift) |
LIR_Opr::long_type |
LIR_Opr::cpu_register |
LIR_Opr::double_size |
LIR_Opr:virtual_mask);
break;
#ifdef __SOFTFP__
case T_FLOAT:
:
LIR_Opr::float_type |
LIR_Opr::cpu_register |
LIR_Opr::single_size |
LIR_Opr:virtual_mask)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
break;
case T_DOUBLE:
res = :
LIR_Opr::double_type |
LIR_Opr::cpu_register |
LIR_Opr::double_size |
);
break;
else// __SOFTFP__
case T_FLOAT:
=(IR_Opr)intptr_t(i < LIR_Opr:ata_shift java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
LIR_Opr:: assert(index >= LIR_Opr::vreg_base, "must
LIR_Opr::fpu_register |
::java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
LIR_Opr:: LIR_Opr old_res = (LIR_Opr)(intptr_t)((index << LIROpr::ata_shift |
breakLIR_Oprcpu_register java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
case
=))(index<LIR_Opr:) java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
:
LIR_Opr::fpu_register |
le_size |
LIR_Opr::virtual_mask);
java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 14
#endif / __SOFTFP__
default: ShouldNotReachHere(); res = illegalOpr;
}
ifdefASSERT
res->java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
assert java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
( > ::reg_base, " start ");
// old-style calculation; check if old and new method are equal
LIR_Opr::OprType t = as_OprType(type);
#ifdef __SOFTFP__ static LIR_Oprstack index BasicType) {
LIR_Opr old_res = (LIR_Opr)(java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 16
|
LIR_Opr:cpu_register |
LIR_Opr::size_for(type) | LIR_Opr::virtual_mask);
LIR_Opr old_res = (LIR_Opr)(intptr_t)((index << LIR_Opr::data_shift) | t |
((type == T_FLOAT || type == java.lang.StringIndexOutOfBoundsException: Range [0, 79) out of bounds for length 66
LIR_Opr:: break;
case:
#endif // __SOFTFP__
#endif // ASSERT
return;
}
// 'index' is computed by FrameMap::local_stack_pos(index); do not use other parameters asLIR_Opr::);
// the index is platform independent; a double stack using indices 2 and 3 has always
res =(LIR_Opr)intptr_t)((index << LIR_Opr::data_shift) |
static LIR_Opr stack(int index, BasicType type) {
LIR_Opr res;
switch (ype java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
case T_OBJECT: // fall through
case T_ARRAY:
res = (LIR_Opr)(intptr_t)((java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
LIR_Opra java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
LIR_Opr::stack_value |
caseT_LONG
breakjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
case : java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
res = (LIR_Opr)(intptr_t reakjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
LIR_Opr::metadata_type |
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 66
LIR_Opr::single_size);
LIR_Opr::stack_value |
case T_INT:
res = (LIR_Opr)(intptr_t)(( LIR_Op:)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
= ()()(index<LIR_Opr:data_shift |
LIR_Opr::tack_value |
LIR_Opr::single_size);
break;
case T_ADDRESSLIR_Opr:)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
: ) illegalOpr
LIR_Opr:
: |
LIR_Opr::single_size);
break;
case T_LONG:
res L)(intptr_t)(index < LIR_Opr:) |
LIR_Opr::long_type LIR_Opr::stack_value |
LIR_Opr:: (type) |
:double_sizejava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
break;
case static LIR_Opr(jint){ LIR_Opr)newLIR_Const)) }
res = (LIR_Opr)(intptr_t)((index << LIR_Opr::data_shift) |
: |
LIR_Opr::stack_value |
LIR_Opr::single_size);
break;
case T_DOUBLE:
()(java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 66
LIR_Opr::double_type|
LIR_Opr::stack_value |
)ra}
break;
intptrConst v {return(IR_Opr( LIR_Const(*v) java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
}
# static (int){ ((newLIR_Consti ))}
assertindex >0 indexmustbepositive)
assert(index == java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
LIR_Opr old_res = (
LIR_Opr::stack_value |
as_OprType(type) |
LIR_Opr::size_for(//---------------------------------------------------//
assert(res == old_res, "old and new method// - every instruction has an CodeEmitInfo operand (can be revisited later)
#endif
return res;
}
LIR_OprintConst(i {return (IR_Oprn LIR_Const()) }
static LIR_Opr longConst(jlong l) { return (LIR_Opr)(new LIR_Const(l)); }
static LIR_Opr java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 17
static LIR_Opr doubleConstclass;
static LIR_Opr oopConst(jobject o) { return (LIR_Opr)(new LIR_Constclass;
;
static LIR_Opr (void*p return (IR_Opr(new LIR_Const(p)); }
static class LIR_Op2;
static LIR_Oprclass LIR_OpDelayjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
static LIR_Opr addressConst(class ;
static LIR_Opr metadataConst(Metadata* class ;
static LIR_Opr value_type(ValueType* type LIR_OpArrayCopy;
//-------------------------------------------------------------------------------
// LIR Instructions
//-------------------------------------------------------------------------------
//
// Note:
// - every instruction has a result operand
// - every instruction has an CodeEmitInfo operand (can be revisited later)
// - every instruction has a LIR_OpCode operand
// - LIR_OpN, means an instruction that has N input operands
//
// class hierarchy:
//
class ,lir_label
class LIR_Op0;
class LIR_OpLabel;
,lir_nop
class java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
class LIR_OpConvert;
class LIR_OpAllocObj;
classLIR_OpReturn;
class LIR_OpRoundFP;
class LIR_Op2;
class LIR_OpDelay;
class LIR_Op3;
class LIR_OpAllocArray;
class LIR_Op4;
class LIR_OpCall;
class LIR_OpJavaCall;,
class LIR_OpRTCall;
class
class LIR_OpUpdateCRC32;
class LIR_OpLock,lir_fld
class LIR_OpTypeCheck;
class LIR_OpCompareAndSwap,lir_leal
class LIR_OpLoadKlass;
class LIR_OpProfileCall;
class LIR_OpProfileType;
#ifdef
classLIR_OpAssert;
#endif
// LIR operation codes
enum java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
lir_none
, begin_op0
, lir_label
, lir_nop
, lir_std_entry
, lir_osr_entry
, lir_fpop_raw
, lir_breakpoint
, lir_rtcall
,lir_membar
, lir_membar_acquire
, lir_membar_release
,,lir_neg
, lir_membar_storestore
, lir_membar_loadstore
, lir_membar_storeload
, lir_get_thread
, lir_on_spin_wait
, end_op0
, begin_op1
, lir_fxch
, lir_fld
, lir_push
, lir_pop
, lir_null_check
, lir_return
, lir_leal
, lir_move
, lir_convert
, java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
, lir_monaddr
, lir_roundfp
, lir_safepoint
, lir_unwind
, lir_load_klass
, end_op1
, begin_op2
, lir_branch
, lir_cond_float_branch
, lir_cmp
, lir_cmp_l2i
, lir_ucmp_fd2i
, lir_cmp_fd2i
, lir_add
, lir_sub
, lir_mul
, lir_div
, lir_rem
, lir_sqrt
, lir_abs
g
, lir_tan
, lir_log10
, lir_logic_and
, lir_logic_or
, lir_logic_xor
, lir_shl
lir_shr
, lir_ushr , ir_store_check
, lir_alloc_array
, lir_throw
, , end_opTypeCh
, lir_xchg
, end_op2
, begin_op3
, lir_idiv
, lir_irem
, lir_fmad
, lir_fmaf
, end_op3
, begin_op4
, lir_cmove
, end_op4
,Call
, lir_static_call
, lir_optvirtual_call
, lir_icvirtual_call
,lir_dynamic_call
,end_opJavaCall
, begin_opArrayCopy
, lir_arraycopy
, end_opArrayCopy
, begin_opUpdateCRC32
, lir_updatecrc32
, end_opUpdateCRC32
, begin_opLock
, lir_lock
, lir_unlock
, end_opLock
, begin_delay_slot
, lir_delay_slot
, end_delay_slot
, begin_opTypeCheck
, lir_instanceof
, java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
, lir_store_check
, end_opTypeCheck
, begin_opCompareAndSwap
, lir_cas_long
, lir_cas_obj
, lir_cas_int
, end_opCompareAndSwap
, java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
, lir_profile_call
, lir_profile_type
, end_opMDOProfile
, begin_opAssert
, lir_assert
, end_opAssert
#ifdef INCLUDE_ZGC
, begin_opZLoadBarrierTest
, lir_zloadbarrier_test
, end_opZLoadBarrierTest
# frien class ;
};
enum LIR_Condition {
lir_cond_equal
, lir_cond_notEqual
, lir_cond_less
, lir_cond_lessEqual
, lir_cond_greaterEqual
, lir_cond_greater
, lir_cond_belowEqual
, lir_cond_aboveEqual
, unsigned short _flags
, lir_cond_unknown = -1
};
enumLIR_PatchCode{
lir_patch_none,
lir_patch_low,
lir_patch_high,
lir_patch_normal
};
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 10
lir_move_volatile#
lir_move_wide, fileNULL
lir_move_max_flag
};
// --------------------------------------------------
// LIR_Op
// --------------------------------------------------
: publicCompilationResourceObj
friend class LIR_OpVisitState;
#fdef ASSERT
private:
const char * _file;
int _java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 13
#endif
protected:
LIR_Opr _result;
unsigned short _code;
unsigned short _lags
CodeEmitInfo)
int _id line0,
int _fpu_pop_count;
Instruction* _source; // for debugging
nt_condition(utputStream*out LIR_Condition cond)PRODUCT_RETURN;
protected:
static bool is_in_range(java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 13
public:
LIR_Op()
:
#ifdef ASSERT
_file(NULL)
,_line()java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
#endif
_result(LIR_OprFact
, _code#fdef ASSERT
, _flags(0)
, _info(NULL)
, _id(-1)
, _fpu_pop_count(0)
, _source(NULL) {}
LIR_Op(java.lang.StringIndexOutOfBoundsException: Range [1, 17) out of bounds for length 6
:
#ifdef ASSERT
_file(NULL)
, _line(0),
#endif
_result(result)
, _code(code)
,(0)
, _infojava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
, _id(-1)
,_(0)
, _source(NULL) {}
CodeEmitInfo*info( const{ return _nfo }
({ LIR_Code }
LIR_Opr result_opr() const { return _result; }
void set_result_opr(LIR_Opr opr) _ ;}
#ifdef ASSERT
set_file_and_line ,int)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
_file = file;
_line = line;
}
#ndif
virtual const virtual LIR_OpCall*as_OpCall) {return NULL;}
virtual void visit(LIR_OpVisitState* state);
int id() const { return _idjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 52
void set_id(int id) { virtualLIR_OpAllocArray){ ;java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
// FPU stack simulation helpers -- only used on Intel
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 56
int fpu_pop_count() const { *java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 44
bool pop_fpu_stack() { return _fpu_pop_count > 0; }
Instruction* source() const { return _source; }
void set_source(Instruction* ins) { _source = ins; }
(LIR_Assembler masm) =0
virtual void print_instr( LIR_OpCompareAndSwap* as_OpCompareAndSwap NULL
* ( ;}
virtual bool is_patching() { virtual LIR_OpProfileCall* as_OpPro){ ;}
* as_OpCall ;}
virtual LIR_OpJavaCall* as_OpJavaCall() { return NULL; }
#ifdef
virtual LIR_OpDelay
virtual LIR_OpLock*) NULL }
virtual LIR_OpAllocArray* address_ddr
LIR_OprList _rgumentsjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
NULL; }
virtual LIR_OpBranch* as_OpBranch() { ,* =)
* (){ ; }
virtual LIR_OpRTCall* as_OpRTCall() { return NULL; }
virtual LIR_OpConvert* as_OpConvert , _ddr(ddr)
_rguments() }
virtual
)return java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
virtual LIR_Op3* as_Op3() { return NULL; }
virtual LIR_Op4* as_Op4() { return NULL; }
virtual LIR_OpArrayCopy java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 60
virtual LIR_OpUpdateCRC32
virtual
virtual LIR_OpCompareAndSwap// --------------------------------------------------
virtual LIR_OpLoadKlass// --------------------------------------------------
LIR_OpProfileCall ( ;}
virtual friend ;
# ASSERT
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 54
#endif
void( const{java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
};
// for calls
class LIR_OpCall: public LIR_Op {
friend class LIR_OpVisitState;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
address _addr;
LIR_OprList a;
protected:
LIR_OpCall(LIR_Code * ,CodeEmitInfo info)
LIR_OprList* arguments, CodeEmitInfo* :LIR_OpCall(, (ddressvtable_offset,result arguments info
: LIR_Op(code, result, info)
, _addr(addr)
,_(arguments){java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
public:
{ return _; }
const LIR_OprList* arguments() const { return _arguments * ){ java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 70
*( this; }
};
// --------------------------------------------------
// LIR_OpJavaCall
// --------------------------------------------------
class LIR_OpJavaCall: public LIR_OpCall {
friend class LIR_OpVisitState;
private:
ciMethod* _method;
LIR_Opr _receiver;
LIR_Opr _method_handle_invoke_SP_save_opr; // Used in LIR_OpVisitState::visit to store the reference to FrameMap::method_handle_invoke_SP_save_opr. void emit_codeLIR_Assembler )
public:
LIR_OpJavaCall(LIR_Code code, (outputStream const ;
}
address addr, LIR_OprList* arguments,
CodeEmitInfo* info)
: LIR_OpCall(code// Location where a branch can continue
, _method(method)
, _receiver(receiver)
, _java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 9
{ assert public
LIR_OpJavaCall(LIR_Codecode, iMethod method,
LIR_Opr receiver, LIR_Opr result, intptr_t vtable_offset,
java.lang.StringIndexOutOfBoundsException: Range [53, 28) out of bounds for length 60
: LIR_OpCall(code, (Label* label( const{ return l;}
, _method(method)
, _receiver(receiver)
, _java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
{ assert(is_in_range(code, java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
LIR_Opr receiver() const { return _receiver;java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ciMethod* method() const { return _method; }
// JSR 292 support.
bool is_invokedynamic( ArrayCopyStub _tub;
bool is_method_handle_invoke() const {
_;
method-is_method_handle_intrinsic) /JVMgeneratedMH intrinsic
}
virtual void emit_codeexpected_type
virtual LIR_OpJavaCall* java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
virtual src_null_check 1<0java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
};
// --------------------------------------------------
// LIR_OpLabel
// --------------------------------------------------
// Location where a branch can continue
class LIR_OpLabel: public LIR_Op {
friend class LIR_OpVisitState;
private:= ,
Label= java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
:
all_flags 1< 12)-1
: LIR_Op(lir_label LIR_OprFact:::llegalOpr, NULL)
, _label(lbl) {}
Label* label() const { return _label; }
virtual void emit_code LIR_OpArrayCopy(LIR_Opr src, LIR_Opr src_pos, LIR_Opr dst, LIR_Opr dst_pos, LIR_Opr length, LIR_Opr tmp,
virtual LIR_OpLabel* as_OpLabel() { return this; }
virtual void print_instr(outputStream* out
}
// LIR_OpArrayCopy
class LIR_OpArrayCopy: public LIR_Op {
friend class LIR_OpVisitState;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [18, 15) out of bounds for length 24
LIR_Opr _src;
LIR_Opr_
LIR_Opr _dst;
void(java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 46
LIR_Opr _length;
void print_instr(outputStream*out) constPRODUCT_RETURN;
ciArrayKlass* _expected_type;
int _flags;
public:
enum Flags {
src_null_check = 1 << 0,
dst_null_check = 1 << 1,
src_pos_positive_check = 1 << 2,
dst_pos_positive_check = 1 << 3,
length_positive_check = 1 << 4,
src_range_check = 1 << 5,
dst_range_check = 1 << 6,
type_check LIR_OpUpdateCRC32 valjava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 59
overlapping = 1 << 8,
unaligned = 1 << 9,
src_objarray = 1 << 10,
dst_objarray = 1 << 11,
all_flags = (1 << 12) - 1
};
LIR_OpArrayCopy(LIR_Opr src, LIR_Opr src_pos// --------------------------------------------------
ciArrayKlass* expected_type, int flags, CodeEmitInfo* info);
LIR_Opr src() const { return _src; }
LIR_Opr src_pos() onst s;}
LIR_Opr dst() :LIR_Op(code LIR_OprFact:, NULL {assert(is_in_rangecode , end_op0,"ode check); java.lang.StringIndexOutOfBoundsException: Index 114 out of bounds for length 114
LIR_Opr dst_pos() const { return _dst_pos; }
{ return _length; }
LIR_Opr tmp() const { return _tmp; }
int flags() const { return _flags; }
* expected_type {_;}
ArrayCopyStub* stub() const { return _stub; }
virtual *)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
virtual java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2
void // --------------------------------------------------
};
// LIR_OpUpdateCRC32
class LIR_OpUpdateCRC32 o; // input operand
friend class LIR_OpVisitState;
private:
LIR_Opr _rc;
LIR_Opr
public:
LIR_OpUpdateCRC32 (code)= ," ";
LIR_Opr crc() const
L code , LIR_Opr =LIR_OprFact:,BasicType type=T_ILLEGAL,LIR_PatchCode patch =java.lang.StringIndexOutOfBoundsException: Range [172, 144) out of bounds for length 172
virtual void emit_code(LIR_Assembler* masm)patch() (is_in_rangecode, , end_op1,code ";}
virtual LIR_OpUpdateCRC32* as_OpUpdateCRC32() { return this; }
(outputStream )const PRODUCT_RETURN;
};
// --------------------------------------------------
// LIR_Op0
// --------------------------------------------------
class LIR_Op0: public LIR_Op {
friend class LIR_OpVisitState;
public:
LIR_Op1 , ,java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 57
: :,NULL ((codebegin_op0 ) c check; java.lang.StringIndexOutOfBoundsException: Index 114 out of bounds for length 114
LIR_Op0 code result, *info )
: LIR_Op(code
virtual void emit_code(LIR_Assembler* masm);
* as_Op0){returnthis
print_instroutputStream ;
};
// --------------------------------------------------
// LIR_Op1
// --------------------------------------------------
ss java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
LIR_OpVisitState
protected
LIR_Opr _opr; // input operand*as_Op1 ;}
BasicType_;//java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
LIR_PatchCode _patchvoid(IR_Opr) opr
* out,LIR_PatchCode code;
void set_kind(virtual void verify() const
assert(code() == lir_move, "must
_flags = kind;
}
public:
LIR_Op1:
: LIR_Op(code, result, info)
, _opr(opr public
,t)
, _patch(patch) { assert(is_in_rangeLIR_Opr,*arguments info=java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
voidprint_instr(utputStreamout PRODUCT_RETURN;
: LIR_Opvoid(IR_Assembler masm)
()
, _type(type)
, _patch(patch) {
assert(code == lir_move, "must be");
set_kind(kindvirtualvoid ( const
}
LIR_Op1(LIR_Code code, LIR_Opr opr, CodeEmitInfo* info)
Fact:illegalOpr,info)
, _opr(opr)
, _type(T_ILLEGAL)
, _patch friend class LIR_OpVisitState;
LIR_Opr in_opr() const { java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
LIR_PatchCode patch_code( LIR_OpReturn(LIR_Opr opr;
BasicType type() const { return _type; }
LIR_MoveKind move_kind() const {
ir_move"ustbe";
return (LIR_MoveKind)_flags;
}
virtual bool is_patching() { return _patch
virtual void emit_code(LIR_Assembler* masm);
virtual LIR_Op1* as_Op1() { return java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
virtual const char * name() const PRODUCT_RETURN0;
LIR_OpConvert:Codecode,opr,LIR_Opr ,*stub
virtual void print_instr(outputStream* out) const PRODUCT_RETURN;
virtual void verify() const;
};
// for runtime calls
class LIR_OpRTCall: public LIR_OpCall {
friend;
private:
LIR_Opr _tmp;
public:
LIR_OpRTCall(address addr, LIR_Opr tmp,
result *arguments* =NULLjava.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
: LIR_OpCall(lir_rtcall, addr,(outputStream*)const;
, _tmp(tmp) {}
virtual void print_instr(outputStream* static void (outputStream* , ::odecode PRODUCT_RETURNjava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
virtual void emit_code(LIR_Assembler// LIR_OpAllocObj
RTCall( ; }
LIR_Opr tmp() const { return _tmp; }
virtual void verify() const;
};
class LIR_OpReturn java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
friend class LIR_OpVisitState _init_checkjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
private:
C1SafepointPollStub* _stub;
public:
LIR_Opr)
C1SafepointPollStub* stub() const { return _stub; }
virtual LIR_OpReturn* tmp3()
}; java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
class ConversionStub;
class LIR_OpConvert: public LIR_Op1 {
friend class LIR_OpVisitState;
private:
Bytecodes::Code _bytecode;
ConversionStub* _stub;
public:
LIR_OpConvert(Bytecodes::Code code, LIR_Opr opr, LIR_Oprtmp4) t;
: LIR_Op1(lir_convert, opr, result)
, _bytecode(code)
, _stub(stub) {
boolinit_check(() const return _init_check; }
ConversionStub* stub() const { return _stub; }
virtual void emit_code(LIR_Assembler* masm);
virtual LIR_OpConvert* as_OpConvert() { return this; }
virtualvoid emit_code(IR_Assembler masm);
static void print_bytecode(outputStream* out, Bytecodes::Code code) PRODUCT_RETURN; void print_instroutputStream out)constPRODUCT_RETURNjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
};
// LIR_OpAllocObj
class LIR_OpAllocObj : public LIR_Op1 {
friend class LIR_OpVisitState;
_;
LIR_Opr _tmp1;
LIR_Opr _tmp2;
LIR_Opr _tmp3
LIR_Opr _tmp4 : LIR_Op1lir_roundfp , resultjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
int _hdr_size;
int _obj_size;
CodeStub _tubjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
bool _init_check;
public:
LIR_OpTypeCheck LIR_Op
LIR_Opr t1, LIR_Opr t2, friendclassLIR_OpVisitState
int privatejava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
: LIR_Op1(lir_alloc_object LIR_Opr array;
, _tmp1(t1)
, _tmp2(t2)
, _tmp3(t3)
, _tmp4(t4))
, _hdr_size(hdr_size)
, _obj_size LIR_Opr_mp2
, LIR_Opr _tmp3java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
, _init_check(init_check) { }
LIR_Opr klass() ciMethod p;
LIR_Opr obj() const { return result_opr(); }
LIR_Oprjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
LIR_Opr (LIR_Code, object ciKlass* klass,
LIR_Opr tmp3() const { return _tmp3; }
LIR_Opr ) const {return _mp4; }
int header_size() const { return _hdr_size; }
int object_size() const { return _obj_size; }
{ return _init_check; }
CodeStub* stub() const { return _stub; }
virtual void emit_code(LIR_Assembler* masm);
virtual LIR_OpAllocObj * as_OpAllocObj () { return this; }
virtual void print_instr(outputStream* out) const PRODUCT_RETURN;
};
// LIR_OpRoundFP
class LIR_OpRoundFP : public LIR_Op1 {
friend class LIR_OpVisitState;
private:
LIR_Opr _tmp;
public:
LIR_OpRoundFPLIR_Opr reg, LIR_Oprstack_loc_temp )
: LIR_Op1(lir_roundfp, reg, result)
tmps) {}
LIR_Opr( const{ return_mp }
virtual LIR_OpRoundFP* as_OpRoundFP() { return this; }
(* PRODUCT_RETURN
};
// LIR_OpTypeCheck
class LIR_OpTypeCheck: public LIR_Op {
friend;
private:
LIR_Opr _object;
_
ciKlass* _klass;
LIR_Opr _tmp1;
_java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
_;
bool _fast_check;
CodeEmitInfo* virtual bool is_patching( {return _info_for_patch != NULL; }
CodeEmitInfo* _info_for_exception;
CodeStub _tubjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
ciMethod* _profiled_method;
int _profiled_bci;
bool _should_profile;
public:
LIR_OpTypeCheck(LIR_Code code, LIR_Opr result, LIR_Opr object, ciKlass* klass,
LIR_Opr tmp1, LIR_Opr tmp2, LIR_Opr java.lang.StringIndexOutOfBoundsException: Range [0, 58) out of bounds for length 0
CodeEmitInfo* info_for_exceptionjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
LIR_OpTypeCheckcodeLIR_Oprobject array
LIR_Opr tmp1, LIR_Opr tmp2, LIR_Opr tmp3, BasicType ;
LIR_Opr object() const { return _object; }
LIR_Opr array() const { assert(code() == lir_store_check, LIR_Opr tmp3;
LIR_Opr tmp1() const { return _tmp1; }
LIR_Opr tmp2() const { return _tmp2; }
tmp3java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
ciKlass ()
bool fast_check() const , _pr1(opr1)
CodeEmitInfo* info_for_patch() const ,_(pr2)
CodeEmitInfo* info_for_exception() const { return _info_for_exception; }
LIR_OprFactijava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
// MethodData* profiling
void set_profiled_method(code | java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 119
void
void set_should_profileboolb){ _hould_profile = b; }
ciMethod* profiled_method() const { return _profiled_method; }
int profiled_bci() const { return _profiled_bci; }
bool java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 17
virtual bool is_patching ,_mp1(::llegalOpr)
virtual void emit_code(LIR_Assembler* masm);
virtual LIR_OpTypeCheck* as_OpTypeCheck() { return this; }
void (outputStream* out const ;
}
// LIR_Op2
class assert(==," "java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
friend class LIR_OpVisitState;
intfpu_stack_size /for sincos on
:
LIR_Opr _opr1;
LIR_Opr _opr2;
BasicType _type;
LIR_Opr _tmp1;
LIR_Opr _tmp2;
LIR_Opr _tmp3;
LIR_Opr _tmp4;
LIR_Opr _tmp5;
LIR_Condition _condition;
void verify() const;
public:
LIR_Op2 code, LIR_Condition condition, LIR_Opr opr1, LIR_Opr opr2, CodeEmitInfo* info = NULL, BasicType type = T_ILLEGAL)
: LIR_Op(code _mp5(LIR_OprFact::illegalOpr)
, _fpu_stack_size(0)
, _opr1(opr1)
,_(opr2)
, _type(type)
, _tmp1(LIR_OprFact::illegalOpr)
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 36
, _tmp3(LIR_OprFact:: : LIR_Op(code, result, NULL,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
, _ , _pr2(pr2
, _tmp5(LIR_OprFact::java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 22
, _condition(condition) {
assert(code == lir_cmp || code == lir_branch || code == lir_cond_float_branch || code == lir_assert, "code check"
} )
_lir_cond_unknownjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
: LIR_Op(code, result, NULL)
, _fpu_stack_size(0)
, }
, _java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
, _type(type)
, _tmp1(LIR_OprFact::illegalOpr)
, _tmp2(LIR_OprFact::illegalOpr)
,_mp3L:illegalOprjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
, _tmp4(LIR_OprFact::illegalOpr)
, _tmp5(LIR_OprFact::illegalOpr)
assert(code = tmp5_opr)constreturn_ java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
( java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 56
}
LIR_Op2(LIR_Code code, LIR_Opr java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 3
* =, BasicType=T_ILLEGAL
: LIR_Op fpu_stack_size( _; }
, _fpu_stack_size(0)
, _opr1(opr1)
,()
,ttype
, _tmp1(LIR_OprFact::illegalOpr)
, _tmp2(LIR_OprFact::illegalOpr)
,_(LIR_OprFact:)
, _tmp4(LIR_OprFact::illegalOpr)
, _tmp5(LIR_OprFact::illegalOpr)
, _condition(lir_cond_unknown) {
assert(code != lir_cmp && code !=class:publicLIR_Op2java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
}
LIR_Op2(LIR_Code code, LIR_Opr BlockBegin* _lock // if this is a branch to a block, this is the block
LIR_Opr :illegalOpr :illegalOpr tmp5=LIR_OprFact:)
// if this is a branch to a stub, this is the stub
,:
, _opr1(opr1)
, _opr2(opr2)
type(ILLEGAL
, _tmp1(tmp1)
, _tmp2(tmp2)
, _mp3()
, _tmp4(,_block(NULL
, _tmp5 ,_tub(NULL){ java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
, _condition(lir_cond_unknown) {
assert(code != lir_cmp && code != lir_branch && code != lir_cond_float_branch && java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 51
}
{ return _opr1; }
LIR_Opr in_opr2() const { return _opr2; }
return condition();
LIR_Opr tmp1_opr() const { java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
LIR_Opr tmp2_opr() const c)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
LIR_Opr tmp3_opr() const { return _tmp3; }
LIR_Opr tmp4_opr() const { return _tmp4; }
LIR_Opr tmp5_opr() const { return _tmp5; }
LIR_Condition condition() const {
c( =|)=|=java.lang.StringIndexOutOfBoundsException: Range [95, 87) out of bounds for length 168
}
void set_condition(LIR_Condition condition) {
assert(code() == lir_cmp || code negate_cond;
}
void set_fpu_stack_size(int size) { _fpu_stack_size = size;
return_pu_stack_sizejava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
void set_in_opr1(class LIR_OpAllocArray java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
voidset_in_opr2LIR_Opr) opr2= java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
virtual void emit_code(IR_Assembler* masm)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
virtual LIR_Op2* as_Op2() { return this; }
virtual void print_instr(outputStream* out) const PRODUCT_RETURN;
};
BasicType_ype
friend class LIR_OpVisitState;
private:
Label* _label (,LIR_Opr ,LIR_Opr ,LIR_Opr , t2 t3 t4, , java.lang.StringIndexOutOfBoundsException: Index 142 out of bounds for length 142
(
BlockBegint2
CodeStub_
public:
LIR_OpBranch(LIR_Condition cond, Label* lbl)
LIR_Op2lir_branch cond, LIR_OprFact::illegalOpr, LIR_OprFact::illegalOpr, (CodeEmitInfo*) NULL)
, _label(lbl)
, _block(NULL)
, _ublock(NULL)
stubN) {}
LIR_OpBranchLIR_Conditioncond * block);
LIR_OpBranch(LIR_Condition cond, CodeStub* stub);
// for unordered comparisons
LIR_OpBranch(LIR_Condition cond, BlockBegin* block, BlockBegin* ublock);
LIR_Condition cond() const {
}
void set_cond(LIR_Condition cond
condjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
}
Label* label() const { return _label; }
public
BlockBegin) const u; }
CodeStub* stub() const { return _stub; }
opr1opr1)
void change_block(BlockBegin* b);
voidchange_ublock(BlockBegin* b);
void negate_cond();
virtual emit_code(LIR_Assembler* masm);
virtual LIR_OpBranch* as_OpBranch() { return this; }
virtual void print_instr(outputStream* out) const PRODUCT_RETURN;
};
class java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
friend class LIR_OpVisitState;
private:
LIR_Opr _klass;
LIR_Opr _len;
LIR_Opr _java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 11
LIR_Opr _tmp2;
LIR_Opr _mp3java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
LIR_Opr _tmp4;
BasicType _ype;
CodeStub* _stub;
public:
LIR_OpAllocArray(LIR_Opr klass, LIR_Opr t;
: LIR_Op(lir_alloc_array, result, NULL)
, _klass(klass)
(len
, _tmp1(t1)
, _tmp2(t2)
,_t3)
, _tmp4(t4)
, _type(type)
, _stub(stub) {}
LIR_Opr klass() const tmp1LIR_OprFact::)
LIR_Opr len() const { return _len :illegalOpr
LIR_Opr obj() const { return result_opr tmp5LIR_OprFact:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
LIR_Opr tmp1 assertt ! T_ILLEGAL c have type;
LIR_Opr tmp2() const { return _tmp2; }
LIR_Opr tmp4() const { return _tmp4; }
BasicTypetype( const { return _type; }
CodeStub* stub() const { return _stub; }
virtual void emit_code LIR_Oprin_opr4()const { return _opr4; }
virtual LIR_OpAllocArray * as_OpAllocArray () { return this; }
virtual void print_instr(outputStream* out BasicType (const { return _ype }
};
class LIR_Op3: public LIR_Op {
friend class LIR_OpVisitState;
private:
LIR_Opr _opr1;
LIR_Opr _opr2;
LIR_Opr _opr3;
public:
LIR_Op3((LIR_Code code LIR_Opr opr1,LIR_Opr opr2,LIR_Opr opr3, LIR_Opr result, CodeEmitInfo* info = NULL)
: LIR_Op(code, result, info)
, _opr1(opr1 set_condition(IR_Conditioncondition){_condition = condition;}
, _opr2(opr2)
, _opr3(opr3) { assert(is_in_range(code, begin_op3, end_op3 void set_in_opr1LIR_Opr ) { _opr1 =opr }
1;}
LIR_Opr in_opr2() const { return _opr2; }
LIR_Opr _in_opr3( opr) _pr3 ; }
virtual void emit_code(LIR_Assembler* masm);
virtual LIR_Op3* as_Op3() { return this; }
virtual void print_instr(outputStream* out) const PRODUCT_RETURN;
}
class LIR_Op4java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
friend class LIR_OpVisitState;java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 9
protected:
LIR_Opr _opr1;
LIR_Opr _pr2
LIR_Opr _opr3;
LIR_Opr _opr4;
BasicType _type;
LIR_Opr _tmp1;
LIR_Opr _tmp2;
LIR_Opr _tmp3;
LIR_Opr _tmp4;
LIR_Opr _tmp5;
LIR_Condition _condition;
public:
LIR_Op4(LIR_Code code, LIR_Condition condition, LIR_Opr opr1, LIR_Opr opr2, LIR_Opr opr3, LIR_Opr opr4,
LIR_Opr LIR_Opr _scratch;
: LIR_Op(code, result, NULL)
, _opr1(opr1)
, _opr2(opr2)
, _opr3(opr3)
,_opr4(opr4)
, _type(type)
, _tmp1(LIR_OprFact::illegalOpr)
java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 36
, _tmp3(LIR_OprFact::illegalOpr)
, _tmp4(LIR_OprFact,lock(java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
, _tmp5( , _stub(stub{java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
, _condition(condition) {
assert(code == lir_cmove, "code check");
assert(type != T_ILLEGAL, "cmove LIR_Oprobj_opr( const return _obj; }
}
LIR_Opr in_opr1() const { return _opr1; }
LIR_Opr in_opr2() const { return _opr2; }
LIR_Opr in_opr3() const { return _opr3; }
virtualLIR_OpLock*( this
type( const return _type; }
LIR_Opr tmp1_opr() const { return _tmp1; }
LIR_Opr tmp2_opr() const { return _tmp2; }
LIR_Opr tmp3_opr() const { return _tmp3; }
class: {
LIR_Opr tmp5_opr() const { return _tmp5; }
LIR_Condition condition() const { return _condition; }
void set_condition(LIR_Condition condition) { _condition = condition; }
void set_in_opr1(LIR_Opr opr) { _opr1 = opr; }
void set_in_opr2(LIR_Opr_bj()
void set_in_opr3(LIR_Opr opr) { _opr3 = opr; }
void set_in_opr4(LIR_Opr opr) { _opr4 = opr; }
void emit_code(LIR_Assembler* masm);
virtual LIR_Op4* as_Op4() { return this; }
virtual void print_instr(outputStream* out) const PRODUCT_RETURN;
};
//--------------------------------
class LabelObj: public CompilationResourceObj {
private:
Label _;
public:
LabelObj
Label*label({ return&_abel }
};
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
friend class LIR_OpVisitState;
LIR_OpD(* op, CodeEmitInfo* info):
LIR_Opr _hdr;
LIR_Opr _obj;
LIR_Opr_lock;
LIR_Opr _scratch;
CodeStub* _stub;
public:
LIR_OpLock(LIR_Code code,LIR_Oprhdr, LIR_Opr obj, LIR_Opr lock, LIR_Opr scratch, CodeStub* stub, CodeEmitInfo* info) | | |