diff options
author | Petr Machata <pmachata@redhat.com> | 2012-01-09 04:29:52 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-08-29 19:02:08 +0200 |
commit | c07a26a8d0f86bc4137eb7b7fea8bbf9021275f1 (patch) | |
tree | 5fcb91e5a5265a862f0e164af1204c346f483313 /sysdeps/linux-gnu/x86_64/trace.c | |
parent | d5285b23e7e515ccb6afdb82fae32a608bb28a2f (diff) | |
download | ltrace-c07a26a8d0f86bc4137eb7b7fea8bbf9021275f1.tar.gz |
Add enum lens, drop ARGTYPE_ENUM
Diffstat (limited to 'sysdeps/linux-gnu/x86_64/trace.c')
-rw-r--r-- | sysdeps/linux-gnu/x86_64/trace.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/linux-gnu/x86_64/trace.c b/sysdeps/linux-gnu/x86_64/trace.c index eaae05e..8e89ae7 100644 --- a/sysdeps/linux-gnu/x86_64/trace.c +++ b/sysdeps/linux-gnu/x86_64/trace.c @@ -455,7 +455,6 @@ classify(Process *proc, struct fetch_context *context, case ARGTYPE_UINT: case ARGTYPE_LONG: case ARGTYPE_ULONG: - case ARGTYPE_ENUM: case ARGTYPE_POINTER: /* and LONGLONG */ @@ -612,7 +611,6 @@ arch_fetch_retval_32(struct fetch_context *context, enum tof type, case ARGTYPE_CHAR: case ARGTYPE_SHORT: case ARGTYPE_USHORT: - case ARGTYPE_ENUM: case ARGTYPE_POINTER: cls = allocate_integer(context, valuep, sz, 0, POOL_RETVAL); assert(cls == CLASS_INTEGER); @@ -858,7 +856,6 @@ arch_type_sizeof(Process *proc, struct arg_type_info *info) case ARGTYPE_LONG: case ARGTYPE_ULONG: case ARGTYPE_POINTER: - case ARGTYPE_ENUM: return 4; } abort(); @@ -890,7 +887,6 @@ arch_type_alignof(Process *proc, struct arg_type_info *info) case ARGTYPE_LONG: case ARGTYPE_ULONG: case ARGTYPE_POINTER: - case ARGTYPE_ENUM: return 4; case ARGTYPE_VOID: |