diff options
Diffstat (limited to 'Build/source/utils/asymptote/entry.h')
-rw-r--r-- | Build/source/utils/asymptote/entry.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Build/source/utils/asymptote/entry.h b/Build/source/utils/asymptote/entry.h index c4ad2bef451..5d02a9c61f2 100644 --- a/Build/source/utils/asymptote/entry.h +++ b/Build/source/utils/asymptote/entry.h @@ -208,10 +208,6 @@ public: // Look for a function that exactly matches the type given. varEntry *lookByType(symbol *name, ty *t); - // Checks if a function was added in the top scope as two identical - // functions cannot be defined in one scope. - varEntry *lookInTopScope(symbol *name, ty *t); - // Return the type of the variable, if name is overloaded, return an // overloaded type. ty *getType(symbol *name); @@ -336,15 +332,6 @@ public: bool add(symbol *src, symbol *dest, venv& source, varEntry *qualifier, coder &c); - bool lookInTopScope(key k) { - return scopes.top().find(k)!=scopes.top().end(); - } - - // Look for a function that exactly matches the type given. - bool lookInTopScope(symbol *name, ty *t) { - return lookInTopScope(key(name, t)); - } - varEntry *lookByType(key k) { keymap::const_iterator p=all.find(k); return p!=all.end() ? p->second->v : 0; |