summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/env.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/env.cc')
-rw-r--r--Build/source/utils/asymptote/env.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/Build/source/utils/asymptote/env.cc b/Build/source/utils/asymptote/env.cc
index 91edfd41754..09d16f21a04 100644
--- a/Build/source/utils/asymptote/env.cc
+++ b/Build/source/utils/asymptote/env.cc
@@ -1,5 +1,5 @@
/*****
- * env.h
+ * env.cc
* Andy Hammerlindl 2002/6/20
*
* Keeps track of the namespaces of variables and types when traversing
@@ -13,10 +13,6 @@
using namespace types;
-namespace absyntax {
-void clearCachedCalls();
-}
-
namespace trans {
// Instances of this class are passed to types::ty objects so that they can call
@@ -88,7 +84,6 @@ bool protoenv::castable(ty *target, ty *source, symbol name) {
return ct.test(target,source);
}
-#ifdef FASTCAST
bool protoenv::fastCastable(ty *target, ty *source) {
assert(target->kind != types::ty_overloaded);
assert(target->kind != types::ty_error);
@@ -150,7 +145,6 @@ access *protoenv::fastLookupCast(ty *target, ty *source) {
// Fall back on slow routine.
return lookupCast(target, source, symbol::castsym);
}
-#endif
ty *protoenv::castTarget(ty *target, ty *source, symbol name) {