aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-parsing.c
diff options
authorLinus Torvalds <torvalds@home.transmeta.com>2003-03-17 10:57:13 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 20:59:21 -0700
commitac3017e7f3762cb212fa86beb9d951e50e84e432 (patch)
treed0aa03160f66184979e977e68b679cebeafbacc9 /test-parsing.c
parent14030f19b5b4165528c21e3c263dc6b0511aac1d (diff)
downloadsparse-dev-ac3017e7f3762cb212fa86beb9d951e50e84e432.tar.gz
Implement space-efficient allocator for small data structures. We
do not want any allocation overhead when some of the data structures average a length of 2.8 bytes (integer constant tokens). Fix up integer constant token parsing (don't try to evaluate them at parse-time, we just lose information that way).
Diffstat (limited to 'test-parsing.c')
-rw-r--r--test-parsing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-parsing.c b/test-parsing.c
index bbb550ea..94e5e703 100644
--- a/test-parsing.c
+++ b/test-parsing.c
@@ -30,5 +30,7 @@ int main(int argc, char **argv)
show_symbol_alloc();
show_expression_alloc();
show_statement_alloc();
+ show_string_alloc();
+ show_bytes_alloc();
return 0;
}