summaryrefslogtreecommitdiffstats
path: root/src/glsl/s_expression.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-12-31 01:48:02 -0800
committerKenneth Graunke <[email protected]>2011-01-12 23:55:33 -0800
commitd7988152722cd5f3930064a139b567cbcb0e5f53 (patch)
treeb17b82ce389b74e347bef5c8c43d619bdbcf5f12 /src/glsl/s_expression.h
parentdaeb0c646e0d652bfa16d326028753ecf092c0c9 (diff)
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.
Diffstat (limited to 'src/glsl/s_expression.h')
-rw-r--r--src/glsl/s_expression.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/s_expression.h b/src/glsl/s_expression.h
index c444ba4338d..795f3fccea7 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();