Commit cf5b2b89 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜 Committed by Marge Bot
Browse files

pan/bi: Remove old IR instruction emit


Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <mesa/mesa!8135>
parent b691aeaa
...@@ -823,24 +823,6 @@ typedef struct { ...@@ -823,24 +823,6 @@ typedef struct {
unsigned fills; unsigned fills;
} bi_context; } bi_context;
static inline bi_instruction *
bi_emit(bi_context *ctx, bi_instruction ins)
{
bi_instruction *u = rzalloc(ctx, bi_instruction);
memcpy(u, &ins, sizeof(ins));
list_addtail(&u->link, &ctx->current_block->base.instructions);
return u;
}
static inline bi_instruction *
bi_emit_before(bi_context *ctx, bi_instruction *tag, bi_instruction ins)
{
bi_instruction *u = rzalloc(ctx, bi_instruction);
memcpy(u, &ins, sizeof(ins));
list_addtail(&u->link, &tag->link);
return u;
}
static inline void static inline void
bi_remove_instruction(bi_instruction *ins) bi_remove_instruction(bi_instruction *ins)
{ {
......
Markdown is supported
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