equal
deleted
inserted
replaced
404 T_ILLEGAL = 99 |
404 T_ILLEGAL = 99 |
405 }; |
405 }; |
406 |
406 |
407 inline bool is_java_primitive(BasicType t) { |
407 inline bool is_java_primitive(BasicType t) { |
408 return T_BOOLEAN <= t && t <= T_LONG; |
408 return T_BOOLEAN <= t && t <= T_LONG; |
|
409 } |
|
410 |
|
411 inline bool is_subword_type(BasicType t) { |
|
412 // these guys are processed exactly like T_INT in calling sequences: |
|
413 return (t == T_BOOLEAN || t == T_CHAR || t == T_BYTE || t == T_SHORT); |
|
414 } |
|
415 |
|
416 inline bool is_signed_subword_type(BasicType t) { |
|
417 return (t == T_BYTE || t == T_SHORT); |
409 } |
418 } |
410 |
419 |
411 // Convert a char from a classfile signature to a BasicType |
420 // Convert a char from a classfile signature to a BasicType |
412 inline BasicType char2type(char c) { |
421 inline BasicType char2type(char c) { |
413 switch( c ) { |
422 switch( c ) { |