diff options
author | Brian <[email protected]> | 2007-03-07 13:00:06 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-03-07 13:00:06 -0700 |
commit | faeea574afcdd45200aea4a78fb7d80b2aa56552 (patch) | |
tree | 190f3ba28d0007572abf9ef97b93ca00cbe8fa9e | |
parent | 35d25c0ce4104d41feead679573543427f99a031 (diff) |
remove end_label field
-rw-r--r-- | src/mesa/shader/slang/slang_compile_function.c | 1 | ||||
-rw-r--r-- | src/mesa/shader/slang/slang_compile_function.h | 5 |
2 files changed, 0 insertions, 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 *); |