lots of stuff me and Patrick did

git-svn-id: svn://10.0.0.236/trunk@73275 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2000-06-27 02:39:32 +00:00
parent 2a9d76e574
commit 0ab4d1b650
22 changed files with 668 additions and 204 deletions

View File

@@ -127,7 +127,6 @@ static ICodeModule* genCode(Context &cx, StmtNode *p, const String &fileName)
{
ICodeGenerator icg(&cx.getWorld(), cx.getGlobalObject());
icg.isScript();
TypedRegister ret(NotARegister, &None_Type);
while (p) {
icg.preprocess(p);
@@ -339,7 +338,6 @@ static void testCompile()
Parser p(world, a, testScript, widenCString("testCompile"));
StmtNode *parsedStatements = p.parseProgram();
ICodeGenerator icg(&world, &glob);
icg.isScript();
StmtNode *s = parsedStatements;
while (s) {
icg.preprocess(s);