summaryrefslogtreecommitdiff
path: root/src/ir.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.cc')
-rw-r--r--src/ir.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ir.cc b/src/ir.cc
index 7354e118..be7848bf 100644
--- a/src/ir.cc
+++ b/src/ir.cc
@@ -224,15 +224,6 @@ void MakeTypeBindingReverseMapping(
}
}
-FuncType* Module::AppendImplicitFuncType(const Location& loc,
- const FuncSignature& sig) {
- FuncType* func_type = new FuncType();
- func_type->sig = sig;
- func_types.push_back(func_type);
- fields.push_back(new FuncTypeModuleField(func_type, loc));
- return func_type;
-}
-
Var::Var(Index index, const Location& loc)
: loc(loc), type_(VarType::Index), index_(index) {}