* amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
This commit is contained in:
parent
b4d5ed91ae
commit
9db13498bf
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-01-29 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
|
||||
|
||||
2008-01-29 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* nto-tdep.h: Remove #include "defs.h".
|
||||
|
|
|
@ -359,6 +359,7 @@ amd64_classify (struct type *type, enum amd64_reg_class class[2])
|
|||
class. */
|
||||
if ((code == TYPE_CODE_INT || code == TYPE_CODE_ENUM
|
||||
|| code == TYPE_CODE_BOOL || code == TYPE_CODE_RANGE
|
||||
|| code == TYPE_CODE_CHAR
|
||||
|| code == TYPE_CODE_PTR || code == TYPE_CODE_REF)
|
||||
&& (len == 1 || len == 2 || len == 4 || len == 8))
|
||||
class[0] = AMD64_INTEGER;
|
||||
|
|
Loading…
Add table
Reference in a new issue