예제 #1
0
  bool is_object_array(void) const {
#if ENABLE_COMPILER_TYPE_INFO
    return must_be_nonnull() && raw_location()->is_exact_type() &&
      raw_location()->class_id() == Universe::object_array_class()->class_id();
#else
    return check_flags(Value::F_IS_OBJECT_ARRAY);
#endif
  }
예제 #2
0
  bool is_string(void) const {
#if ENABLE_COMPILER_TYPE_INFO
    return must_be_nonnull() && 
      raw_location()->class_id() == Universe::string_class()->class_id();
#else
    return check_flags(Value::F_IS_STRING);
#endif
  }
예제 #3
0
  bool is_string_array(void) const {
#if ENABLE_COMPILER_TYPE_INFO
    return must_be_nonnull() && 
      raw_location()->class_id() == 
      JavaClass::Raw(Universe::string_class()->array_class())().class_id();
#else
    return check_flags(Value::F_IS_STRING_ARRAY);
#endif
  }
예제 #4
0
 // The BasicType of the current index
 BasicType type( void ) const {
  return raw_location()->type();
 }
예제 #5
0
 // Modify a location which had been in Register src to instead be in
 // in Register dst.  All flags remain the same.
 void change_register(Assembler::Register dst, Assembler::Register src) const {
   raw_location()->change_register(dst, src);
 }
예제 #6
0
 jint length(void) const {
   return raw_location()->length();
 }
예제 #7
0
 void mark_as_changed(void) const {
   raw_location()->mark_as_changed();
 }
예제 #8
0
 bool check_flags(const jubyte mask) const {
   return (raw_location()->flags() & mask) != 0;
 }
예제 #9
0
 bool is_cached(void) const {
   return raw_location()->is_cached();
 }
예제 #10
0
 void mark_as_flushed(void) const {
   raw_location()->mark_as_flushed();
 }
예제 #11
0
 bool is_immediate(void) const {
   return raw_location()->where() == Value::T_IMMEDIATE;
 }
예제 #12
0
 // flush cached or changed values into memory
 void flush(void) const {
   raw_location()->flush(index());
 }
예제 #13
0
 void write_value (const Value& value) const {
   raw_location()->write_value(value);
 }
예제 #14
0
 void read_value(Value& value) const {
   raw_location()->read_value(value, index());
 }
예제 #15
0
 // The BasicType of the current index
 BasicType type() {
  return raw_location()->type();
 }