From: Brian Date: Wed, 7 Mar 2007 20:00:06 +0000 (-0700) Subject: remove end_label field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=faeea574afcdd45200aea4a78fb7d80b2aa56552;p=mesa.git remove end_label field --- 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 *);