Charj: Remove migration code...not working yet
authorJonathan Lifflander <jliffl2@illinois.edu>
Tue, 29 Jun 2010 05:56:20 +0000 (00:56 -0500)
committerJonathan Lifflander <jliffl2@illinois.edu>
Tue, 29 Jun 2010 05:56:20 +0000 (00:56 -0500)
src/langs/charj/src/charj/translator/InitPUPCollector.g

index aad24384ad74d3453fae26cc0904b8451e1e729f..b7bdf6cb14c8c2b4607057e88bfacd0ca40ec258 100644 (file)
@@ -37,7 +37,6 @@ enterClass
                 OBJECT_VAR_DECLARATION | CONSTRUCTOR_DECL | ENTRY_CONSTRUCTOR_DECL) .*))*)
         {
             currentClass = (ClassSymbol)$IDENT.def.type;
-            System.out.println("enterClassXXX: " + $IDENT.def.name);
         }
     ;
 
@@ -52,19 +51,6 @@ enterDefaultConstructor
         }
     ;
 
-enterMigrationConstructor
-    :    ^((CONSTRUCTOR_DECL | ENTRY_CONSTRUCTOR_DECL)
-            (^(MODIFIER_LIST .*))? .
-                ^(FORMAL_PARAM_LIST ^(FORMAL_PARAM_STD_DECL 
-                    ^(POINTER_TYPE ^(QUALIFIED_TYPE_IDENT IDENT)) .
-                )) ^(BLOCK .*))
-        {
-            if (currentClass != null && $IDENT.text == "CkMigrateMessage") {
-                currentClass.hasMigrationConstructor = true;
-            }
-        }
-    ;
-
 enterBlock 
     :   ^(BLOCK .*)
         {