Lines Matching refs:check
362 static void check (Code code) { assert(is_defined(code), err_msg("illegal code: %d", (int)code)); }
395 static const char* name (Code code) { check(code); return _name [code]; }
396 static BasicType result_type (Code code) { check(code); return _result_type [code]; }
397 static int depth (Code code) { check(code); return _depth [code]; }
399 // Calling check(code) in length functions would throw an unwanted assert.
400 static int length_for (Code code) { /*no check*/ return _lengths [code] & 0xF; }
401 static int wide_length_for(Code code) { /*no check*/ return _lengths [code] >> 4; }
402 static bool can_trap (Code code) { check(code); return has_all_flags(code, _bc_can_trap, false); }
403 static Code java_code (Code code) { check(code); return _java_code [code]; }
404 static bool can_rewrite (Code code) { check(code); return has_all_flags(code, _bc_can_rewrite, false); }
406 static bool native_byte_order(Code code) { check(code); return has_all_flags(code, _fmt_has_nbo, false); }
407 static bool uses_cp_cache (Code code) { check(code); return has_all_flags(code, _fmt_has_j, false); }