diff cbackend.js @ 95:926b65fe92b4

Do some cleanup on JS backend
author Mike Pavone <pavone@retrodev.com>
date Tue, 24 Jul 2012 19:13:38 -0700
parents f23ecd4e22af
children 84b65ee8b78b
line wrap: on
line diff
--- a/cbackend.js	Mon Jul 23 08:00:01 2012 -0700
+++ b/cbackend.js	Tue Jul 24 19:13:38 2012 -0700
@@ -767,15 +767,7 @@
 	toplevel.names['os'] = os;
 }
 
-modulefile.prototype.populateSymbols = function (toplevel) {
-	if (!this.ast) {
-		this.ast = parseFile(this.path + '/' + this.file);
-		this.ast.populateSymbols(toplevel);
-	}
-};
-
 modulefile.prototype.toC = function(){
-	this.populateSymbols(toplevel);
 	return this.ast.toCModuleInstance();
 };