33 //
34 // This class represents a ObjArrayOop in the HotSpot virtual
35 // machine.
36 class ciObjArray : public ciArray {
37 CI_PACKAGE_ACCESS
38
39 protected:
40 ciObjArray(objArrayHandle h_o) : ciArray(h_o) {}
41
42 objArrayOop get_objArrayOop() {
43 return (objArrayOop)get_oop();
44 }
45
46 const char* type_string() { return "ciObjArray"; }
47
48 public:
49 // What kind of ciObject is this?
50 bool is_obj_array() { return true; }
51
52 ciObject* obj_at(int index);
53 };
54
55 #endif // SHARE_CI_CIOBJARRAY_HPP
|
33 //
34 // This class represents a ObjArrayOop in the HotSpot virtual
35 // machine.
36 class ciObjArray : public ciArray {
37 CI_PACKAGE_ACCESS
38
39 protected:
40 ciObjArray(objArrayHandle h_o) : ciArray(h_o) {}
41
42 objArrayOop get_objArrayOop() {
43 return (objArrayOop)get_oop();
44 }
45
46 const char* type_string() { return "ciObjArray"; }
47
48 public:
49 // What kind of ciObject is this?
50 bool is_obj_array() { return true; }
51
52 ciObject* obj_at(int index);
53
54 bool is_flat() { return false; }
55 bool is_null_free();
56 };
57
58 #endif // SHARE_CI_CIOBJARRAY_HPP
|