diff options
author | fche <fche> | 2005-08-19 15:48:51 +0000 |
---|---|---|
committer | fche <fche> | 2005-08-19 15:48:51 +0000 |
commit | 37908791bf273ecdf073a8bd848501d2137cd71a (patch) | |
tree | e89a15ef5d3b06083feb8e060e961a998443f305 /elaborate.cxx | |
parent | 109a69c7a20af595d908fb75644b66f562b2bfcc (diff) | |
download | systemtap-steved-37908791bf273ecdf073a8bd848501d2137cd71a.tar.gz systemtap-steved-37908791bf273ecdf073a8bd848501d2137cd71a.tar.xz systemtap-steved-37908791bf273ecdf073a8bd848501d2137cd71a.zip |
2005-08-19 Frank Ch. Eigler <fche@elastic.org>
* elaborate.cxx (find_var): Remove $pid/$tid builtin logic.
Diffstat (limited to 'elaborate.cxx')
-rw-r--r-- | elaborate.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
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; } |