Remove broken debugging code.
This commit is contained in:
7
func.cpp
7
func.cpp
@@ -75,13 +75,6 @@ Function::Function(Symbol *s, const std::vector<Symbol *> &a, Stmt *c) {
|
|||||||
Assert(maskSymbol != NULL);
|
Assert(maskSymbol != NULL);
|
||||||
|
|
||||||
if (code != NULL) {
|
if (code != NULL) {
|
||||||
if (g->debugPrint) {
|
|
||||||
fprintf(stderr, "Creating function \"%s\". Initial code:\n",
|
|
||||||
sym->name.c_str());
|
|
||||||
code->Print(0);
|
|
||||||
fprintf(stderr, "---------------------\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
code = TypeCheck(code);
|
code = TypeCheck(code);
|
||||||
|
|
||||||
if (code != NULL && g->debugPrint) {
|
if (code != NULL && g->debugPrint) {
|
||||||
|
|||||||
Reference in New Issue
Block a user