From d7988152722cd5f3930064a139b567cbcb0e5f53 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 31 Dec 2010 01:48:02 -0800 Subject: ir_reader: Remove s_list::length() method. Most code now relies on the pattern matcher rather than this function, and for the only remaining case, not using this saves an iteration. --- src/glsl/s_expression.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/glsl/s_expression.h') diff --git a/src/glsl/s_expression.h b/src/glsl/s_expression.h index c444ba4338..795f3fccea 100644 --- a/src/glsl/s_expression.h +++ b/src/glsl/s_expression.h @@ -139,7 +139,6 @@ public: s_list(); virtual bool is_list() const { return true; } - unsigned length() const; void print(); -- cgit v1.2.3