Commit 14c58c47 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

array: Remove remnants of ARR_A.

parent 743da7b3
......@@ -16,7 +16,6 @@
#include "fourcc.h"
#define ARR_D_MAGIC FOURCC('A','R','R','D')
#define ARR_A_MAGIC FOURCC('A','R','R','A')
#define ARR_F_MAGIC FOURCC('A','R','R','F')
#ifdef NDEBUG
......@@ -36,8 +35,7 @@ void ir_verify_arr(const void *arr)
{
#ifndef NDEBUG
ir_arr_descr *descr = ARR_DESCR(arr);
assert(descr->magic == ARR_D_MAGIC || descr->magic == ARR_A_MAGIC
|| descr->magic == ARR_F_MAGIC);
assert(descr->magic == ARR_D_MAGIC || descr->magic == ARR_F_MAGIC);
assert(descr->magic != ARR_F_MAGIC || descr->allocated >= descr->nelts);
#else
(void) arr;
......
......@@ -640,8 +640,6 @@ HRESULT format_arr_descr(DEBUGHELPER *pHelper, int nBase, const void *addr, char
switch (desc.magic) {
case ARR_D_MAGIC:
_tcsncpy(pResult, "DynArr ", max); break;
case ARR_A_MAGIC:
_tcsncpy(pResult, "AutoArr ", max); break;
case ARR_F_MAGIC:
_tcsncpy(pResult, "FlexArr ", max); break;
default:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment