# HG changeset patch # User Jan Vrany # Date 1414705434 0 # Node ID f3898a3b378d6bbb0d2d381181685432110db422 # Parent c99f058e2276f66f5068290c8991ab588229a284 Package renamed from cvut:stx/goodies/newcompiler to ctu:ircompiler diff -r c99f058e2276 -r f3898a3b378d IRAccess.st --- a/IRAccess.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRAccess.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInstruction subclass:#IRAccess instanceVariableNames:'number name' @@ -33,7 +33,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRAccess.st,v 1.3 2009/10/08 11:57:08 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRAccess.st,v 1.3 2009/10/08 11:57:08 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRBlockReturnTop.st --- a/IRBlockReturnTop.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRBlockReturnTop.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRReturn subclass:#IRBlockReturnTop instanceVariableNames:'successor' @@ -45,7 +45,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRBlockReturnTop.st,v 1.3 2009/10/08 11:58:58 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRBlockReturnTop.st,v 1.3 2009/10/08 11:58:58 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRBuilder.st --- a/IRBuilder.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRBuilder.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" Object subclass:#IRBuilder instanceVariableNames:'ir jumpBackTargetStacks jumpAheadStacks currentSequence @@ -461,7 +461,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRBuilder.st,v 1.3 2009/10/08 11:57:58 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRBuilder.st,v 1.3 2009/10/08 11:57:58 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRBuilderTest.st --- a/IRBuilderTest.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRBuilderTest.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" TestCase subclass:#IRBuilderTest instanceVariableNames:'' @@ -1026,7 +1026,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRBuilderTest.st,v 1.3 2009/10/08 12:03:51 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRBuilderTest.st,v 1.3 2009/10/08 12:03:51 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRBytecodeGenerator.st --- a/IRBytecodeGenerator.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRBytecodeGenerator.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" Object subclass:#IRBytecodeGenerator instanceVariableNames:'seqOrder orderSeq jumps literals lastLiteral currentSeqId @@ -812,7 +812,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRBytecodeGenerator.st,v 1.3 2009/10/08 12:04:39 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRBytecodeGenerator.st,v 1.3 2009/10/08 12:04:39 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRClosure.st --- a/IRClosure.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRClosure.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRFunction subclass:#IRClosure instanceVariableNames:'' @@ -63,7 +63,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRClosure.st,v 1.3 2009/10/08 12:00:40 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRClosure.st,v 1.3 2009/10/08 12:00:40 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRConstant.st --- a/IRConstant.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRConstant.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInstruction subclass:#IRConstant instanceVariableNames:'constant type' @@ -65,7 +65,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRConstant.st,v 1.3 2009/10/08 12:03:32 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRConstant.st,v 1.3 2009/10/08 12:03:32 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRDecompiler.st --- a/IRDecompiler.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRDecompiler.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInterpreter subclass:#IRDecompiler instanceVariableNames:'stack sp scope currentInstr valueLabelMap mapEmptyStatement' @@ -1297,7 +1297,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRDecompiler.st,v 1.3 2009/10/08 12:04:20 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRDecompiler.st,v 1.3 2009/10/08 12:04:20 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRDup.st --- a/IRDup.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRDup.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInstruction subclass:#IRDup instanceVariableNames:'' @@ -25,7 +25,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRDup.st,v 1.3 2009/10/08 11:57:50 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRDup.st,v 1.3 2009/10/08 11:57:50 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRFunction.st --- a/IRFunction.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRFunction.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" Object subclass:#IRFunction instanceVariableNames:'startSequence primitiveNode tempKeys tempMap numRargs properties @@ -482,7 +482,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRFunction.st,v 1.4 2009/10/08 11:59:08 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRFunction.st,v 1.4 2009/10/08 11:59:08 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRInstVarAccess.st --- a/IRInstVarAccess.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRInstVarAccess.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRAccess subclass:#IRInstVarAccess instanceVariableNames:'' @@ -34,7 +34,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInstVarAccess.st,v 1.3 2009/10/08 12:01:34 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInstVarAccess.st,v 1.3 2009/10/08 12:01:34 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRInstVarRead.st --- a/IRInstVarRead.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRInstVarRead.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInstVarAccess subclass:#IRInstVarRead instanceVariableNames:'' @@ -34,7 +34,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInstVarRead.st,v 1.3 2009/10/08 11:56:08 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInstVarRead.st,v 1.3 2009/10/08 11:56:08 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRInstVarStore.st --- a/IRInstVarStore.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRInstVarStore.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInstVarAccess subclass:#IRInstVarStore instanceVariableNames:'' @@ -37,7 +37,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInstVarStore.st,v 1.3 2009/10/08 11:59:32 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInstVarStore.st,v 1.3 2009/10/08 11:59:32 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRInstruction.st --- a/IRInstruction.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRInstruction.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" Link subclass:#IRInstruction instanceVariableNames:'sourceNode bytecodeIndex sequence' @@ -413,7 +413,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInstruction.st,v 1.3 2009/10/08 11:55:09 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInstruction.st,v 1.3 2009/10/08 11:55:09 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRInterpreter.st --- a/IRInterpreter.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRInterpreter.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" Object subclass:#IRInterpreter instanceVariableNames:'' @@ -115,7 +115,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInterpreter.st,v 1.3 2009/10/08 11:58:54 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInterpreter.st,v 1.3 2009/10/08 11:58:54 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRJump.st --- a/IRJump.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRJump.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInstruction subclass:#IRJump instanceVariableNames:'destination' @@ -56,7 +56,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRJump.st,v 1.3 2009/10/08 12:01:23 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRJump.st,v 1.3 2009/10/08 12:01:23 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRJumpIf.st --- a/IRJumpIf.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRJumpIf.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRJump subclass:#IRJumpIf instanceVariableNames:'boolean otherwise' @@ -65,7 +65,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRJumpIf.st,v 1.3 2009/10/08 12:05:24 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRJumpIf.st,v 1.3 2009/10/08 12:05:24 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRJumpOverBlock.st --- a/IRJumpOverBlock.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRJumpOverBlock.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRJump subclass:#IRJumpOverBlock instanceVariableNames:'blockSequence' @@ -44,7 +44,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRJumpOverBlock.st,v 1.3 2009/10/08 11:56:16 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRJumpOverBlock.st,v 1.3 2009/10/08 11:56:16 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRLine.st --- a/IRLine.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRLine.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInstruction subclass:#IRLine instanceVariableNames:'line' @@ -38,7 +38,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRLine.st,v 1.3 2009/10/08 12:03:44 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRLine.st,v 1.3 2009/10/08 12:03:44 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRLiteralVariableAccess.st --- a/IRLiteralVariableAccess.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRLiteralVariableAccess.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRAccess subclass:#IRLiteralVariableAccess instanceVariableNames:'association' @@ -37,7 +37,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRLiteralVariableAccess.st,v 1.3 2009/10/08 11:59:04 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRLiteralVariableAccess.st,v 1.3 2009/10/08 11:59:04 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRLiteralVariableRead.st --- a/IRLiteralVariableRead.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRLiteralVariableRead.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRLiteralVariableAccess subclass:#IRLiteralVariableRead instanceVariableNames:'' @@ -31,7 +31,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRLiteralVariableRead.st,v 1.3 2009/10/08 12:03:40 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRLiteralVariableRead.st,v 1.3 2009/10/08 12:03:40 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRLiteralVariableStore.st --- a/IRLiteralVariableStore.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRLiteralVariableStore.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRLiteralVariableAccess subclass:#IRLiteralVariableStore instanceVariableNames:'' @@ -31,7 +31,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRLiteralVariableStore.st,v 1.3 2009/10/08 11:56:40 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRLiteralVariableStore.st,v 1.3 2009/10/08 11:56:40 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRMethod.st --- a/IRMethod.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRMethod.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRFunction subclass:#IRMethod instanceVariableNames:'' @@ -56,7 +56,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRMethod.st,v 1.3 2009/10/08 11:56:48 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRMethod.st,v 1.3 2009/10/08 11:56:48 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRPop.st --- a/IRPop.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRPop.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInstruction subclass:#IRPop instanceVariableNames:'' @@ -31,7 +31,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRPop.st,v 1.3 2009/10/08 11:57:32 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRPop.st,v 1.3 2009/10/08 11:57:32 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRPrinter.st --- a/IRPrinter.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRPrinter.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInterpreter subclass:#IRPrinter instanceVariableNames:'stream indent' @@ -214,7 +214,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRPrinter.st,v 1.3 2009/10/08 12:00:24 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRPrinter.st,v 1.3 2009/10/08 12:00:24 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRReturn.st --- a/IRReturn.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRReturn.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInstruction subclass:#IRReturn instanceVariableNames:'isRemote' @@ -46,7 +46,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRReturn.st,v 1.3 2009/10/08 12:01:32 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRReturn.st,v 1.3 2009/10/08 12:01:32 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRSend.st --- a/IRSend.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRSend.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInstruction subclass:#IRSend instanceVariableNames:'selector numArgs superOf' @@ -82,7 +82,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRSend.st,v 1.3 2009/10/08 12:03:48 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRSend.st,v 1.3 2009/10/08 12:03:48 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRSequence.st --- a/IRSequence.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRSequence.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" Object subclass:#IRSequence instanceVariableNames:'sequence orderNumber method' @@ -411,7 +411,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRSequence.st,v 1.3 2009/10/08 11:59:45 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRSequence.st,v 1.3 2009/10/08 11:59:45 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRStackCount.st --- a/IRStackCount.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRStackCount.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" Object subclass:#IRStackCount instanceVariableNames:'start position length' @@ -125,7 +125,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRStackCount.st,v 1.3 2009/10/08 11:59:57 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRStackCount.st,v 1.3 2009/10/08 11:59:57 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRTempAccess.st --- a/IRTempAccess.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRTempAccess.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRAccess subclass:#IRTempAccess instanceVariableNames:'kind level' @@ -63,7 +63,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRTempAccess.st,v 1.3 2009/10/08 12:03:42 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRTempAccess.st,v 1.3 2009/10/08 12:03:42 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRTempRead.st --- a/IRTempRead.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRTempRead.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRTempAccess subclass:#IRTempRead instanceVariableNames:'' @@ -33,7 +33,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRTempRead.st,v 1.3 2009/10/08 12:00:10 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRTempRead.st,v 1.3 2009/10/08 12:00:10 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRTempStore.st --- a/IRTempStore.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRTempStore.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRTempAccess subclass:#IRTempStore instanceVariableNames:'' @@ -33,7 +33,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRTempStore.st,v 1.3 2009/10/08 12:04:11 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRTempStore.st,v 1.3 2009/10/08 12:04:11 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRTransformTest.st --- a/IRTransformTest.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRTransformTest.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" TestCase subclass:#IRTransformTest instanceVariableNames:'' @@ -167,7 +167,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRTransformTest.st,v 1.3 2009/10/08 11:56:52 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRTransformTest.st,v 1.3 2009/10/08 11:56:52 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d IRTranslator.st --- a/IRTranslator.st Mon Oct 29 10:41:23 2012 +0000 +++ b/IRTranslator.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" +"{ Package: 'ctu:ircompiler' }" IRInterpreter subclass:#IRTranslator instanceVariableNames:'pending gen currentInstr' @@ -375,7 +375,7 @@ ! version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRTranslator.st,v 1.3 2009/10/08 12:04:47 fm Exp §' + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRTranslator.st,v 1.3 2009/10/08 12:04:47 fm Exp ' ! version_SVN diff -r c99f058e2276 -r f3898a3b378d Make.proto --- a/Make.proto Mon Oct 29 10:41:23 2012 +0000 +++ b/Make.proto Thu Oct 30 21:43:54 2014 +0000 @@ -1,7 +1,7 @@ # $Header$ # # DO NOT EDIT -# automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler. +# automagically generated from the projectDefinition: ctu_ircompiler. # # Warning: once you modify this file, do not rerun # stmkmp or projectDefinition-build again - otherwise, your changes are lost. @@ -17,7 +17,7 @@ # # position (of this package) in directory hierarchy: # (must point to ST/X top directory, for tools and includes) -TOP=../../../../stx +TOP=../../stx INCLUDE_TOP=$(TOP)/.. # subdirectories where targets are to be made: @@ -43,7 +43,7 @@ # LOCALDEFINES=-Dfoo -Dbar -DDEBUG LOCALDEFINES= -LIBNAME=libcvut_stx_goodies_newcompiler +LIBNAME=libctu_ircompiler STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=. -varPrefix=$(LIBNAME) @@ -78,16 +78,16 @@ echo -n exported > .svnversion; \ fi -cvut_stx_goodies_newcompiler.o: cvut_stx_goodies_newcompiler.st .svnversion +ctu_ircompiler.o: ctu_ircompiler.st .svnversion @if [ -d .svn ]; then \ rev2="$(shell printf "%-16s" $$(cat .svnversion))"; \ echo " [SV] Expanding svnRevisionNo in $1.st"; \ - sed -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"\'$$rev2\'\"\$$\"/g" $< > .cvut_stx_goodies_newcompiler.svn.st; \ + sed -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"\'$$rev2\'\"\$$\"/g" $< > .ctu_ircompiler.svn.st; \ fi - $(MAKE) CC="$(CLASSLIB_CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" STC="$(STC)" STFILE=.cvut_stx_goodies_newcompiler.svn $(C_RULE); - sed -i -e "s/\".cvut_stx_goodies_newcompiler.svn.st\");/\"\cvut_stx_goodies_newcompiler.st\");/g" .cvut_stx_goodies_newcompiler.svn.c - $(MAKE) .cvut_stx_goodies_newcompiler.svn.$(O) - @mv .cvut_stx_goodies_newcompiler.svn.$(O) cvut_stx_goodies_newcompiler.$(O) + $(MAKE) CC="$(CLASSLIB_CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" STC="$(STC)" STFILE=.ctu_ircompiler.svn $(C_RULE); + sed -i -e "s/\".ctu_ircompiler.svn.st\");/\"\ctu_ircompiler.st\");/g" .ctu_ircompiler.svn.c + $(MAKE) .ctu_ircompiler.svn.$(O) + @mv .ctu_ircompiler.svn.$(O) ctu_ircompiler.$(O) endif @@ -146,32 +146,32 @@ $(OUTDIR)IRInterpreter.$(O) IRInterpreter.$(H): IRInterpreter.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)IRSequence.$(O) IRSequence.$(H): IRSequence.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)IRStackCount.$(O) IRStackCount.$(H): IRStackCount.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)cvut_stx_goodies_newcompiler.$(O) cvut_stx_goodies_newcompiler.$(H): cvut_stx_goodies_newcompiler.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRAccess.$(O) IRAccess.$(H): IRAccess.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRClosure.$(O) IRClosure.$(H): IRClosure.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRFunction.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRConstant.$(O) IRConstant.$(H): IRConstant.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRDecompiler.$(O) IRDecompiler.$(H): IRDecompiler.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInterpreter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRDup.$(O) IRDup.$(H): IRDup.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRJump.$(O) IRJump.$(H): IRJump.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRLine.$(O) IRLine.$(H): IRLine.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRMethod.$(O) IRMethod.$(H): IRMethod.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRFunction.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRPop.$(O) IRPop.$(H): IRPop.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRPrinter.$(O) IRPrinter.$(H): IRPrinter.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInterpreter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRReturn.$(O) IRReturn.$(H): IRReturn.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRSend.$(O) IRSend.$(H): IRSend.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRTranslator.$(O) IRTranslator.$(H): IRTranslator.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInterpreter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRBlockReturnTop.$(O) IRBlockReturnTop.$(H): IRBlockReturnTop.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRReturn.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRInstVarAccess.$(O) IRInstVarAccess.$(H): IRInstVarAccess.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRJumpIf.$(O) IRJumpIf.$(H): IRJumpIf.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRJump.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRJumpOverBlock.$(O) IRJumpOverBlock.$(H): IRJumpOverBlock.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRJump.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRLiteralVariableAccess.$(O) IRLiteralVariableAccess.$(H): IRLiteralVariableAccess.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRTempAccess.$(O) IRTempAccess.$(H): IRTempAccess.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRInstVarRead.$(O) IRInstVarRead.$(H): IRInstVarRead.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstVarAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRInstVarStore.$(O) IRInstVarStore.$(H): IRInstVarStore.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstVarAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRLiteralVariableRead.$(O) IRLiteralVariableRead.$(H): IRLiteralVariableRead.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRLiteralVariableAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRLiteralVariableStore.$(O) IRLiteralVariableStore.$(H): IRLiteralVariableStore.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRLiteralVariableAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRTempRead.$(O) IRTempRead.$(H): IRTempRead.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRTempAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) -$(OUTDIR)IRTempStore.$(O) IRTempStore.$(H): IRTempStore.st $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRTempAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRAccess.$(H) $(INCLUDE_TOP)/cvut/stx/goodies/newcompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)ctu_ircompiler.$(O) ctu_ircompiler.$(H): ctu_ircompiler.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRAccess.$(O) IRAccess.$(H): IRAccess.st $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRClosure.$(O) IRClosure.$(H): IRClosure.st $(INCLUDE_TOP)/ctu/ircompiler/IRFunction.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRConstant.$(O) IRConstant.$(H): IRConstant.st $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRDecompiler.$(O) IRDecompiler.$(H): IRDecompiler.st $(INCLUDE_TOP)/ctu/ircompiler/IRInterpreter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRDup.$(O) IRDup.$(H): IRDup.st $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRJump.$(O) IRJump.$(H): IRJump.st $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRLine.$(O) IRLine.$(H): IRLine.st $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRMethod.$(O) IRMethod.$(H): IRMethod.st $(INCLUDE_TOP)/ctu/ircompiler/IRFunction.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRPop.$(O) IRPop.$(H): IRPop.st $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRPrinter.$(O) IRPrinter.$(H): IRPrinter.st $(INCLUDE_TOP)/ctu/ircompiler/IRInterpreter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRReturn.$(O) IRReturn.$(H): IRReturn.st $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRSend.$(O) IRSend.$(H): IRSend.st $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRTranslator.$(O) IRTranslator.$(H): IRTranslator.st $(INCLUDE_TOP)/ctu/ircompiler/IRInterpreter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRBlockReturnTop.$(O) IRBlockReturnTop.$(H): IRBlockReturnTop.st $(INCLUDE_TOP)/ctu/ircompiler/IRReturn.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRInstVarAccess.$(O) IRInstVarAccess.$(H): IRInstVarAccess.st $(INCLUDE_TOP)/ctu/ircompiler/IRAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRJumpIf.$(O) IRJumpIf.$(H): IRJumpIf.st $(INCLUDE_TOP)/ctu/ircompiler/IRJump.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRJumpOverBlock.$(O) IRJumpOverBlock.$(H): IRJumpOverBlock.st $(INCLUDE_TOP)/ctu/ircompiler/IRJump.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRLiteralVariableAccess.$(O) IRLiteralVariableAccess.$(H): IRLiteralVariableAccess.st $(INCLUDE_TOP)/ctu/ircompiler/IRAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRTempAccess.$(O) IRTempAccess.$(H): IRTempAccess.st $(INCLUDE_TOP)/ctu/ircompiler/IRAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRInstVarRead.$(O) IRInstVarRead.$(H): IRInstVarRead.st $(INCLUDE_TOP)/ctu/ircompiler/IRInstVarAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRInstVarStore.$(O) IRInstVarStore.$(H): IRInstVarStore.st $(INCLUDE_TOP)/ctu/ircompiler/IRInstVarAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRLiteralVariableRead.$(O) IRLiteralVariableRead.$(H): IRLiteralVariableRead.st $(INCLUDE_TOP)/ctu/ircompiler/IRLiteralVariableAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRLiteralVariableStore.$(O) IRLiteralVariableStore.$(H): IRLiteralVariableStore.st $(INCLUDE_TOP)/ctu/ircompiler/IRLiteralVariableAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRTempRead.$(O) IRTempRead.$(H): IRTempRead.st $(INCLUDE_TOP)/ctu/ircompiler/IRTempAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) +$(OUTDIR)IRTempStore.$(O) IRTempStore.$(H): IRTempStore.st $(INCLUDE_TOP)/ctu/ircompiler/IRTempAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRAccess.$(H) $(INCLUDE_TOP)/ctu/ircompiler/IRInstruction.$(H) $(INCLUDE_TOP)/stx/libbasic/Link.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) $(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)/stx/libcomp/ByteCodeCompiler.$(H) $(INCLUDE_TOP)/stx/libcomp/Parser.$(H) $(INCLUDE_TOP)/stx/libcomp/Scanner.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/Class.$(H) $(INCLUDE_TOP)/stx/libbasic/ClassDescription.$(H) $(INCLUDE_TOP)/stx/libbasic/Behavior.$(H) $(STCHDR) # ENDMAKEDEPEND --- do not remove this line diff -r c99f058e2276 -r f3898a3b378d Make.spec --- a/Make.spec Mon Oct 29 10:41:23 2012 +0000 +++ b/Make.spec Thu Oct 30 21:43:54 2014 +0000 @@ -1,7 +1,7 @@ # $Header$ # # DO NOT EDIT -# automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler. +# automagically generated from the projectDefinition: ctu_ircompiler. # # Warning: once you modify this file, do not rerun # stmkmp or projectDefinition-build again - otherwise, your changes are lost. @@ -12,8 +12,8 @@ # Do NOT CHANGE THESE DEFINITIONS # (otherwise, ST/X will have a hard time to find out the packages location from its packageID, # to find the source code of a class and to find the library for a package) -MODULE=cvut -MODULE_DIR=stx/goodies/newcompiler +MODULE=ctu +MODULE_DIR=ircompiler PACKAGE=$(MODULE):$(MODULE_DIR) @@ -57,7 +57,7 @@ IRInterpreter \ IRSequence \ IRStackCount \ - cvut_stx_goodies_newcompiler \ + ctu_ircompiler \ IRAccess \ IRClosure \ IRConstant \ @@ -95,7 +95,7 @@ $(OUTDIR)IRInterpreter.$(O) \ $(OUTDIR)IRSequence.$(O) \ $(OUTDIR)IRStackCount.$(O) \ - $(OUTDIR)cvut_stx_goodies_newcompiler.$(O) \ + $(OUTDIR)ctu_ircompiler.$(O) \ $(OUTDIR)IRAccess.$(O) \ $(OUTDIR)IRClosure.$(O) \ $(OUTDIR)IRConstant.$(O) \ diff -r c99f058e2276 -r f3898a3b378d abbrev.stc --- a/abbrev.stc Mon Oct 29 10:41:23 2012 +0000 +++ b/abbrev.stc Thu Oct 30 21:43:54 2014 +0000 @@ -1,38 +1,38 @@ # automagically generated by the project definition # this file is needed for stc to be able to compile modules independently. # it provides information about a classes filename, category and especially namespace. -IRBuilder IRBuilder cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRBuilderTest IRBuilderTest cvut:stx/goodies/newcompiler 'NewCompiler-IR-Tests' 1 -IRBytecodeGenerator IRBytecodeGenerator cvut:stx/goodies/newcompiler 'NewCompiler-Bytecode' 0 -IRFunction IRFunction cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRInstruction IRInstruction cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRInterpreter IRInterpreter cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRSequence IRSequence cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRStackCount IRStackCount cvut:stx/goodies/newcompiler 'NewCompiler-Bytecode' 0 -IRTransformTest IRTransformTest cvut:stx/goodies/newcompiler 'NewCompiler-IR-Tests' 1 -cvut_stx_goodies_newcompiler cvut_stx_goodies_newcompiler cvut:stx/goodies/newcompiler '* Projects & Packages *' 3 -IRAccess IRAccess cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRClosure IRClosure cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRConstant IRConstant cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRDecompiler IRDecompiler cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRDup IRDup cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRJump IRJump cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRLine IRLine cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRMethod IRMethod cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRPop IRPop cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRPrinter IRPrinter cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRReturn IRReturn cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRSend IRSend cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRTranslator IRTranslator cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRBlockReturnTop IRBlockReturnTop cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRInstVarAccess IRInstVarAccess cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRJumpIf IRJumpIf cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRJumpOverBlock IRJumpOverBlock cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRLiteralVariableAccess IRLiteralVariableAccess cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRTempAccess IRTempAccess cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRInstVarRead IRInstVarRead cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRInstVarStore IRInstVarStore cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRLiteralVariableRead IRLiteralVariableRead cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRLiteralVariableStore IRLiteralVariableStore cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRTempRead IRTempRead cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 -IRTempStore IRTempStore cvut:stx/goodies/newcompiler 'NewCompiler-IR' 0 +IRBuilder IRBuilder ctu:ircompiler 'NewCompiler-IR' 0 +IRBuilderTest IRBuilderTest ctu:ircompiler 'NewCompiler-IR-Tests' 1 +IRBytecodeGenerator IRBytecodeGenerator ctu:ircompiler 'NewCompiler-Bytecode' 0 +IRFunction IRFunction ctu:ircompiler 'NewCompiler-IR' 0 +IRInstruction IRInstruction ctu:ircompiler 'NewCompiler-IR' 0 +IRInterpreter IRInterpreter ctu:ircompiler 'NewCompiler-IR' 0 +IRSequence IRSequence ctu:ircompiler 'NewCompiler-IR' 0 +IRStackCount IRStackCount ctu:ircompiler 'NewCompiler-Bytecode' 0 +IRTransformTest IRTransformTest ctu:ircompiler 'NewCompiler-IR-Tests' 1 +cvut_stx_goodies_newcompiler cvut_stx_goodies_newcompiler ctu:ircompiler '* Projects & Packages *' 3 +IRAccess IRAccess ctu:ircompiler 'NewCompiler-IR' 0 +IRClosure IRClosure ctu:ircompiler 'NewCompiler-IR' 0 +IRConstant IRConstant ctu:ircompiler 'NewCompiler-IR' 0 +IRDecompiler IRDecompiler ctu:ircompiler 'NewCompiler-IR' 0 +IRDup IRDup ctu:ircompiler 'NewCompiler-IR' 0 +IRJump IRJump ctu:ircompiler 'NewCompiler-IR' 0 +IRLine IRLine ctu:ircompiler 'NewCompiler-IR' 0 +IRMethod IRMethod ctu:ircompiler 'NewCompiler-IR' 0 +IRPop IRPop ctu:ircompiler 'NewCompiler-IR' 0 +IRPrinter IRPrinter ctu:ircompiler 'NewCompiler-IR' 0 +IRReturn IRReturn ctu:ircompiler 'NewCompiler-IR' 0 +IRSend IRSend ctu:ircompiler 'NewCompiler-IR' 0 +IRTranslator IRTranslator ctu:ircompiler 'NewCompiler-IR' 0 +IRBlockReturnTop IRBlockReturnTop ctu:ircompiler 'NewCompiler-IR' 0 +IRInstVarAccess IRInstVarAccess ctu:ircompiler 'NewCompiler-IR' 0 +IRJumpIf IRJumpIf ctu:ircompiler 'NewCompiler-IR' 0 +IRJumpOverBlock IRJumpOverBlock ctu:ircompiler 'NewCompiler-IR' 0 +IRLiteralVariableAccess IRLiteralVariableAccess ctu:ircompiler 'NewCompiler-IR' 0 +IRTempAccess IRTempAccess ctu:ircompiler 'NewCompiler-IR' 0 +IRInstVarRead IRInstVarRead ctu:ircompiler 'NewCompiler-IR' 0 +IRInstVarStore IRInstVarStore ctu:ircompiler 'NewCompiler-IR' 0 +IRLiteralVariableRead IRLiteralVariableRead ctu:ircompiler 'NewCompiler-IR' 0 +IRLiteralVariableStore IRLiteralVariableStore ctu:ircompiler 'NewCompiler-IR' 0 +IRTempRead IRTempRead ctu:ircompiler 'NewCompiler-IR' 0 +IRTempStore IRTempStore ctu:ircompiler 'NewCompiler-IR' 0 diff -r c99f058e2276 -r f3898a3b378d bc.mak --- a/bc.mak Mon Oct 29 10:41:23 2012 +0000 +++ b/bc.mak Thu Oct 30 21:43:54 2014 +0000 @@ -1,7 +1,7 @@ # $Header$ # # DO NOT EDIT -# automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler. +# automagically generated from the projectDefinition: ctu_ircompiler. # # Warning: once you modify this file, do not rerun # stmkmp or projectDefinition-build again - otherwise, your changes are lost. @@ -20,7 +20,7 @@ # this has changed; it is now also possible to build using microsoft visual c # (called via vcmake, by "make.exe -f bc.mak -DUSEVC") # -TOP=..\..\..\..\stx +TOP=..\..\stx INCLUDE_TOP=$(TOP)\.. @@ -29,7 +29,7 @@ !INCLUDE Make.spec -LIBNAME=libcvut_stx_goodies_newcompiler +LIBNAME=libctu_ircompiler RESFILES=newcompiler.res @@ -82,7 +82,7 @@ $(OUTDIR)IRInterpreter.$(O) IRInterpreter.$(H): IRInterpreter.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRSequence.$(O) IRSequence.$(H): IRSequence.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRStackCount.$(O) IRStackCount.$(H): IRStackCount.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) -$(OUTDIR)cvut_stx_goodies_newcompiler.$(O) cvut_stx_goodies_newcompiler.$(H): cvut_stx_goodies_newcompiler.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) +$(OUTDIR)ctu_ircompiler.$(O) ctu_ircompiler.$(H): ctu_ircompiler.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRAccess.$(O) IRAccess.$(H): IRAccess.st $(INCLUDE_TOP)\cvut\stx\goodies\newcompiler\IRInstruction.$(H) $(INCLUDE_TOP)\stx\libbasic\Link.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRClosure.$(O) IRClosure.$(H): IRClosure.st $(INCLUDE_TOP)\cvut\stx\goodies\newcompiler\IRFunction.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)IRConstant.$(O) IRConstant.$(H): IRConstant.st $(INCLUDE_TOP)\cvut\stx\goodies\newcompiler\IRInstruction.$(H) $(INCLUDE_TOP)\stx\libbasic\Link.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) diff -r c99f058e2276 -r f3898a3b378d ctu_ircompiler.st --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ctu_ircompiler.st Thu Oct 30 21:43:54 2014 +0000 @@ -0,0 +1,158 @@ +"{ Package: 'ctu:ircompiler' }" + +LibraryDefinition subclass:#ctu_ircompiler + instanceVariableNames:'' + classVariableNames:'' + poolDictionaries:'' + category:'* Projects & Packages *' +! + + +!ctu_ircompiler class methodsFor:'description'! + +preRequisites + "list all required packages. + This list can be maintained manually or (better) generated and + updated by scanning the superclass hierarchies and looking for + global variable accesses. (the browser has a menu function for that) + Howevery, often too much is found, and you may want to explicitely + exclude individual packages in the #excludedFromPrerequisites method." + + ^ #( + #'stx:goodies/refactoryBrowser/parser' "RBReturnNode - referenced by IRDecompiler>>addReturn:from: " + #'stx:goodies/sunit' "TestAsserter - superclass of IRTransformTest " + #'stx:libbasic' "Link - superclass of IRSend " + #'stx:libbasic2' "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize " + #'stx:libcomp' "Parser - superclass of extended ByteCodeCompiler " + #'stx:libcompat' "Preferences - referenced by IRDecompiler>>removeClosureCreation: " + #'stx:libtool' "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode " + #'stx:libwidg' "TextView - referenced by IRFunction>>inspector2TabIRCode " + ) +! ! + +!ctu_ircompiler class methodsFor:'description - contents'! + +classNamesAndAttributes + "lists the classes which are to be included in the project. + Each entry in the list may be: a single class-name (symbol), + or an array-literal consisting of class name and attributes. + Attributes are: #autoload or # where os is one of win32, unix,..." + + ^ #( + " or ( attributes...) in load order" + IRBuilder + (IRBuilderTest autoload) + IRBytecodeGenerator + IRFunction + IRInstruction + IRInterpreter + IRSequence + IRStackCount + (IRTransformTest autoload) + #'ctu_ircompiler' + IRAccess + IRClosure + IRConstant + IRDecompiler + IRDup + IRJump + IRLine + IRMethod + IRPop + IRPrinter + IRReturn + IRSend + IRTranslator + IRBlockReturnTop + IRInstVarAccess + IRJumpIf + IRJumpOverBlock + IRLiteralVariableAccess + IRTempAccess + IRInstVarRead + IRInstVarStore + IRLiteralVariableRead + IRLiteralVariableStore + IRTempRead + IRTempStore + ) +! + +extensionMethodNames + "lists the extension methods which are to be included in the project. + Entries are 2-element array literals, consisting of class-name and selector." + + ^ #( + ByteCodeCompiler literalArray: + Class binding + Class bindingOf: + ) +! ! + +!ctu_ircompiler class methodsFor:'description - project information'! + +companyName + "Return a companyname which will appear in .rc" + + ^ 'CVUT FEI & Mathieu Suen' + + "Created: / 11-06-2008 / 16:50:46 / Jan Vrany " +! + +description + "Return a description string which will appear in vc.def / bc.def" + + ^ 'Smalltalk/X Bytecode generation library based on Squeak''s NewCompiler' + + "Created: / 11-06-2008 / 16:50:46 / Jan Vrany " +! + +legalCopyright + "Return a copyright string which will appear in .rc" + + ^ 'Copyright Jan Vrany & Mathieu Suen 2008' + + "Created: / 11-06-2008 / 16:50:46 / Jan Vrany " +! + +productName + "Return a product name which will appear in .rc" + + ^ 'NewCompiler' + + "Created: / 11-06-2008 / 16:50:46 / Jan Vrany " +! ! + +!ctu_ircompiler class methodsFor:'description - svn'! + +svnRepositoryUrlString + "Return a SVN repository URL of myself. + (Generated since 2011-04-08) + Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!! + " + + ^ '$URL:: $' +! + +svnRevisionNr + "Return a SVN revision number of myself. + This number is updated after a commit" + + ^ "$SVN-Revision:"'nil'"$" + + "Modified: / 29-10-2012 / 10:42:13 / Jan Vrany " +! ! + +!ctu_ircompiler class methodsFor:'documentation'! + +version + ^ '$Id$' +! + +version_CVS + ^ 'Header: /cvs/stx/cvut/stx/goodies/newcompiler/ctu_ircompiler.st,v 1.4 2009/10/08 12:00:46 fm Exp ' +! + +version_SVN + ^ '$Id:: $' +! ! diff -r c99f058e2276 -r f3898a3b378d cvut_stx_goodies_newcompiler.st --- a/cvut_stx_goodies_newcompiler.st Mon Oct 29 10:41:23 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,158 +0,0 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }" - -LibraryDefinition subclass:#cvut_stx_goodies_newcompiler - instanceVariableNames:'' - classVariableNames:'' - poolDictionaries:'' - category:'* Projects & Packages *' -! - - -!cvut_stx_goodies_newcompiler class methodsFor:'description'! - -preRequisites - "list all required packages. - This list can be maintained manually or (better) generated and - updated by scanning the superclass hierarchies and looking for - global variable accesses. (the browser has a menu function for that) - Howevery, often too much is found, and you may want to explicitely - exclude individual packages in the #excludedFromPrerequisites method." - - ^ #( - #'stx:goodies/refactoryBrowser/parser' "RBReturnNode - referenced by IRDecompiler>>addReturn:from: " - #'stx:goodies/sunit' "TestAsserter - superclass of IRTransformTest " - #'stx:libbasic' "Link - superclass of IRSend " - #'stx:libbasic2' "OrderedDictionary - referenced by IRBytecodeGenerator>>initialize " - #'stx:libcomp' "Parser - superclass of extended ByteCodeCompiler " - #'stx:libcompat' "Preferences - referenced by IRDecompiler>>removeClosureCreation: " - #'stx:libtool' "Tools::Inspector2Tab - referenced by IRFunction>>inspector2TabIRCode " - #'stx:libwidg' "TextView - referenced by IRFunction>>inspector2TabIRCode " - ) -! ! - -!cvut_stx_goodies_newcompiler class methodsFor:'description - contents'! - -classNamesAndAttributes - "lists the classes which are to be included in the project. - Each entry in the list may be: a single class-name (symbol), - or an array-literal consisting of class name and attributes. - Attributes are: #autoload or # where os is one of win32, unix,..." - - ^ #( - " or ( attributes...) in load order" - IRBuilder - (IRBuilderTest autoload) - IRBytecodeGenerator - IRFunction - IRInstruction - IRInterpreter - IRSequence - IRStackCount - (IRTransformTest autoload) - #'cvut_stx_goodies_newcompiler' - IRAccess - IRClosure - IRConstant - IRDecompiler - IRDup - IRJump - IRLine - IRMethod - IRPop - IRPrinter - IRReturn - IRSend - IRTranslator - IRBlockReturnTop - IRInstVarAccess - IRJumpIf - IRJumpOverBlock - IRLiteralVariableAccess - IRTempAccess - IRInstVarRead - IRInstVarStore - IRLiteralVariableRead - IRLiteralVariableStore - IRTempRead - IRTempStore - ) -! - -extensionMethodNames - "lists the extension methods which are to be included in the project. - Entries are 2-element array literals, consisting of class-name and selector." - - ^ #( - ByteCodeCompiler literalArray: - Class binding - Class bindingOf: - ) -! ! - -!cvut_stx_goodies_newcompiler class methodsFor:'description - project information'! - -companyName - "Return a companyname which will appear in .rc" - - ^ 'CVUT FEI & Mathieu Suen' - - "Created: / 11-06-2008 / 16:50:46 / Jan Vrany " -! - -description - "Return a description string which will appear in vc.def / bc.def" - - ^ 'Smalltalk/X Bytecode generation library based on Squeak''s NewCompiler' - - "Created: / 11-06-2008 / 16:50:46 / Jan Vrany " -! - -legalCopyright - "Return a copyright string which will appear in .rc" - - ^ 'Copyright Jan Vrany & Mathieu Suen 2008' - - "Created: / 11-06-2008 / 16:50:46 / Jan Vrany " -! - -productName - "Return a product name which will appear in .rc" - - ^ 'NewCompiler' - - "Created: / 11-06-2008 / 16:50:46 / Jan Vrany " -! ! - -!cvut_stx_goodies_newcompiler class methodsFor:'description - svn'! - -svnRepositoryUrlString - "Return a SVN repository URL of myself. - (Generated since 2011-04-08) - Do not make the string shorter!!!!!! We have to use fixed-length keyword!!!!!! - " - - ^ '$URL:: $' -! - -svnRevisionNr - "Return a SVN revision number of myself. - This number is updated after a commit" - - ^ "$SVN-Revision:"'nil'"$" - - "Modified: / 29-10-2012 / 10:42:13 / Jan Vrany " -! ! - -!cvut_stx_goodies_newcompiler class methodsFor:'documentation'! - -version - ^ '$Id$' -! - -version_CVS - ^ '§Header: /cvs/stx/cvut/stx/goodies/newcompiler/cvut_stx_goodies_newcompiler.st,v 1.4 2009/10/08 12:00:46 fm Exp §' -! - -version_SVN - ^ '$Id:: $' -! ! diff -r c99f058e2276 -r f3898a3b378d extensions.st --- a/extensions.st Mon Oct 29 10:41:23 2012 +0000 +++ b/extensions.st Thu Oct 30 21:43:54 2014 +0000 @@ -1,4 +1,4 @@ -"{ Package: 'cvut:stx/goodies/newcompiler' }"! +"{ Package: 'ctu:ircompiler' }"! !ByteCodeCompiler methodsFor:'accessing'! @@ -28,8 +28,8 @@ "Created: / 11-06-2008 / 11:29:19 / Jan Vrany " ! ! -!cvut_stx_goodies_newcompiler class methodsFor:'documentation'! +!ctu_ircompiler class methodsFor:'documentation'! extensionsVersion_SVN ^ '$Id:: $' -! ! \ No newline at end of file +! ! diff -r c99f058e2276 -r f3898a3b378d ircompiler.rc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ircompiler.rc Thu Oct 30 21:43:54 2014 +0000 @@ -0,0 +1,37 @@ +// +// DO NOT EDIT +// automagically generated from the projectDefinition: ctu_ircompiler. +// +VS_VERSION_INFO VERSIONINFO + FILEVERSION 6,2,0,1 + PRODUCTVERSION 6,2,3,1 +#if (__BORLANDC__) + FILEFLAGSMASK VS_FF_DEBUG | VS_FF_PRERELEASE + FILEFLAGS VS_FF_PRERELEASE | VS_FF_SPECIALBUILD + FILEOS VOS_NT_WINDOWS32 + FILETYPE VFT_DLL + FILESUBTYPE VS_USER_DEFINED +#endif + +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904E4" + BEGIN + VALUE "CompanyName", "CVUT FEI & Mathieu Suen\0" + VALUE "FileDescription", "Smalltalk/X Bytecode generation library based on Squeak's NewCompiler (LIB)\0" + VALUE "FileVersion", "6.2.0.1\0" + VALUE "InternalName", "ctu:ircompiler\0" + VALUE "LegalCopyright", "Copyright Jan Vrany & Mathieu Suen 2008\0" + VALUE "ProductName", "NewCompiler\0" + VALUE "ProductVersion", "6.2.3.1\0" + VALUE "ProductDate", "Mon, 29 Oct 2012 10:43:04 GMT\0" + END + + END + + BLOCK "VarFileInfo" + BEGIN // Language | Translation + VALUE "Translation", 0x409, 0x4E4 // U.S. English, Windows Multilingual + END +END diff -r c99f058e2276 -r f3898a3b378d libInit.cc --- a/libInit.cc Mon Oct 29 10:41:23 2012 +0000 +++ b/libInit.cc Thu Oct 30 21:43:54 2014 +0000 @@ -2,7 +2,7 @@ * $Header$ * * DO NOT EDIT - * automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler. + * automagically generated from the projectDefinition: ctu_ircompiler. */ #define __INDIRECTVMINITCALLS__ #include @@ -12,21 +12,21 @@ #endif #if defined(INIT_TEXT_SECTION) || defined(DLL_EXPORT) -DLL_EXPORT void _libcvut_stx_goodies_newcompiler_Init() INIT_TEXT_SECTION; -// DLL_EXPORT void _libcvut_stx_goodies_newcompiler_InitDefinition() INIT_TEXT_SECTION; +DLL_EXPORT void _libctu_ircompiler_Init() INIT_TEXT_SECTION; +// DLL_EXPORT void _libctu_ircompiler_InitDefinition() INIT_TEXT_SECTION; #endif -// void _libcvut_stx_goodies_newcompiler_InitDefinition(pass, __pRT__, snd) +// void _libctu_ircompiler_InitDefinition(pass, __pRT__, snd) // OBJ snd; struct __vmData__ *__pRT__; { -// __BEGIN_PACKAGE2__("libcvut_stx_goodies_newcompiler__DFN", _libcvut_stx_goodies_newcompiler_InitDefinition, "cvut:stx/goodies/newcompiler"); -// _cvut_137stx_137goodies_137newcompiler_Init(pass,__pRT__,snd); +// __BEGIN_PACKAGE2__("libctu_ircompiler__DFN", _libctu_ircompiler_InitDefinition, "ctu:ircompiler"); +// _ctu_137ircompiler_Init(pass,__pRT__,snd); // __END_PACKAGE__(); // } -void _libcvut_stx_goodies_newcompiler_Init(pass, __pRT__, snd) +void _libctu_ircompiler_Init(pass, __pRT__, snd) OBJ snd; struct __vmData__ *__pRT__; { -__BEGIN_PACKAGE2__("libcvut_stx_goodies_newcompiler", _libcvut_stx_goodies_newcompiler_Init, "cvut:stx/goodies/newcompiler"); +__BEGIN_PACKAGE2__("libctu_ircompiler", _libctu_ircompiler_Init, "ctu:ircompiler"); _IRBuilder_Init(pass,__pRT__,snd); _IRBytecodeGenerator_Init(pass,__pRT__,snd); _IRFunction_Init(pass,__pRT__,snd); @@ -34,7 +34,7 @@ _IRInterpreter_Init(pass,__pRT__,snd); _IRSequence_Init(pass,__pRT__,snd); _IRStackCount_Init(pass,__pRT__,snd); -_cvut_137stx_137goodies_137newcompiler_Init(pass,__pRT__,snd); +_ctu_137ircompiler_Init(pass,__pRT__,snd); _IRAccess_Init(pass,__pRT__,snd); _IRClosure_Init(pass,__pRT__,snd); _IRConstant_Init(pass,__pRT__,snd); @@ -61,6 +61,6 @@ _IRTempRead_Init(pass,__pRT__,snd); _IRTempStore_Init(pass,__pRT__,snd); -_cvut_137stx_137goodies_137newcompiler_extensions_Init(pass,__pRT__,snd); +_ctu_137ircompiler_extensions_Init(pass,__pRT__,snd); __END_PACKAGE__(); } diff -r c99f058e2276 -r f3898a3b378d newcompiler.rc --- a/newcompiler.rc Mon Oct 29 10:41:23 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,37 +0,0 @@ -// -// DO NOT EDIT -// automagically generated from the projectDefinition: cvut_stx_goodies_newcompiler. -// -VS_VERSION_INFO VERSIONINFO - FILEVERSION 6,2,0,1 - PRODUCTVERSION 6,2,3,1 -#if (__BORLANDC__) - FILEFLAGSMASK VS_FF_DEBUG | VS_FF_PRERELEASE - FILEFLAGS VS_FF_PRERELEASE | VS_FF_SPECIALBUILD - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL - FILESUBTYPE VS_USER_DEFINED -#endif - -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904E4" - BEGIN - VALUE "CompanyName", "CVUT FEI & Mathieu Suen\0" - VALUE "FileDescription", "Smalltalk/X Bytecode generation library based on Squeak's NewCompiler (LIB)\0" - VALUE "FileVersion", "6.2.0.1\0" - VALUE "InternalName", "cvut:stx/goodies/newcompiler\0" - VALUE "LegalCopyright", "Copyright Jan Vrany & Mathieu Suen 2008\0" - VALUE "ProductName", "NewCompiler\0" - VALUE "ProductVersion", "6.2.3.1\0" - VALUE "ProductDate", "Mon, 29 Oct 2012 10:43:04 GMT\0" - END - - END - - BLOCK "VarFileInfo" - BEGIN // Language | Translation - VALUE "Translation", 0x409, 0x4E4 // U.S. English, Windows Multilingual - END -END