equal
deleted
inserted
replaced
1030 return false; |
1030 return false; |
1031 } |
1031 } |
1032 |
1032 |
1033 // helper function to tell if a field is a primitive field or not |
1033 // helper function to tell if a field is a primitive field or not |
1034 static inline bool is_primitive_field_type(char type) { |
1034 static inline bool is_primitive_field_type(char type) { |
1035 return (type != 'L' && type != '['); |
1035 return (type != JVM_SIGNATURE_CLASS && type != JVM_SIGNATURE_ARRAY); |
1036 } |
1036 } |
1037 |
1037 |
1038 // helper function to copy the value from location addr to jvalue. |
1038 // helper function to copy the value from location addr to jvalue. |
1039 static inline void copy_to_jvalue(jvalue *v, address addr, jvmtiPrimitiveType value_type) { |
1039 static inline void copy_to_jvalue(jvalue *v, address addr, jvmtiPrimitiveType value_type) { |
1040 switch (value_type) { |
1040 switch (value_type) { |