From faeea574afcdd45200aea4a78fb7d80b2aa56552 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 7 Mar 2007 13:00:06 -0700 Subject: [PATCH] remove end_label field --- src/mesa/shader/slang/slang_compile_function.c | 1 - src/mesa/shader/slang/slang_compile_function.h | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/mesa/shader/slang/slang_compile_function.c b/src/mesa/shader/slang/slang_compile_function.c index 9b0bdaf4064..2f74050b865 100644 --- a/src/mesa/shader/slang/slang_compile_function.c +++ b/src/mesa/shader/slang/slang_compile_function.c @@ -86,7 +86,6 @@ slang_function_construct(slang_function * func) func->param_count = 0; func->body = NULL; func->address = ~0; - func->end_label = 0; slang_fixup_table_init(&func->fixups); return 1; } diff --git a/src/mesa/shader/slang/slang_compile_function.h b/src/mesa/shader/slang/slang_compile_function.h index 09fbfd90900..a59b094e08d 100644 --- a/src/mesa/shader/slang/slang_compile_function.h +++ b/src/mesa/shader/slang/slang_compile_function.h @@ -66,11 +66,6 @@ typedef struct slang_function_ slang_operation *body; /**< The instruction tree */ unsigned int address; /**< Address of this func in memory */ slang_fixup_table fixups; /**< Mem locations which need func's address */ -#if 0 - slang_atom end_label; /**< The end-of-function label */ -#else - struct slang_label_ *end_label; -#endif } slang_function; extern int slang_function_construct(slang_function *); -- 2.30.2