diff -r dc3d13c2837d -r 132d7898a2a1 compiler/PPCUniversalConfiguration.st --- a/compiler/PPCUniversalConfiguration.st Wed Aug 26 21:41:20 2015 +0100 +++ b/compiler/PPCUniversalConfiguration.st Wed Aug 26 23:01:00 2015 +0100 @@ -49,28 +49,20 @@ ! generate - | rootMethod compiledParser | + | compiledParser | context options generate ifFalse:[ ^ self ]. - rootMethod := (self codeGenerator) - options:context options; - clazz:context parserClass; - visit:ir. + self runPass: PPCUniversalCodeGenerator. + compiledParser := self buildClass. - compiledParser startSymbol:rootMethod methodName. + compiledParser startSymbol:(context parserClass propertyAt:#rootMethod) methodName. compiledParser := compiledParser new. ir := compiledParser. "Modified: / 25-08-2015 / 00:03:46 / Jan Vrany " -! ! - -!PPCUniversalConfiguration methodsFor:'hooks'! - -codeGenerator - ^ PPCUniversalCodeGenerator new options:context options + "Modified: / 26-08-2015 / 22:50:29 / Jan Vrany " ! ! !PPCUniversalConfiguration class methodsFor:'documentation'!