Related articles |
---|
How to number intermediate code tuples edward@minster.york.ac.uk (1992-10-28) |
Newsgroups: | comp.compilers |
From: | edward@minster.york.ac.uk |
Organization: | Compilers Central |
Date: | Wed, 28 Oct 1992 17:28:06 GMT |
Keywords: | optimize, question |
Dear Folks,
I have a particular problem with a part of a compiler I'm writing and I
was wondering if anyone out there could kindly help me sort it out please.
The problem:-
Given a set of N tuples {T1, T2, ... Tk}, where k is typically 3,
how do we generate unique (recreatable) labels for each tuple for indexing
into an array (size anything from N -> 2*N). No label address collisions
can be tolerated.
Any help appreciated. Many thanks!
- ed
----------------------------------------------------
Edward Walker
Dept. of Computer Science
University of York
York, U.K.
YO1 5DD
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.