diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | elaborate.cxx | 19 |
2 files changed, 4 insertions, 19 deletions
@@ -1,3 +1,7 @@ +2005-08-19 Frank Ch. Eigler <fche@elastic.org> + + * elaborate.cxx (find_var): Remove $pid/$tid builtin logic. + 2005-08-19 Martin Hunt <hunt@redhat.com> * stp_check.in: Remove stp-control. diff --git a/elaborate.cxx b/elaborate.cxx index 4b613058..0d4796bd 100644 --- a/elaborate.cxx +++ b/elaborate.cxx @@ -861,25 +861,6 @@ symresolution_info::find_var (const string& name, int arity) } } - // search builtins that become locals - // XXX: need to invent a proper formalism for this - if (arity == 0 && (name == "$pid" || name == "$tid")) - { - vardecl_builtin* vb = new vardecl_builtin; - vb->name = name; - vb->type = pe_long; - - // XXX: need a better way to synthesize tokens - token* t = new token; - t->type = tok_identifier; - t->content = name; - t->location.file = "<builtin>"; - vb->tok = t; - - locals.push_back (vb); - return vb; - } - return 0; } |