summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx19
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;
}