equal
deleted
inserted
replaced
1 "{ Package: 'stx:goodies/petitparser/compiler' }" |
|
2 |
|
3 Object subclass:#PPCInlineStrategy |
|
4 instanceVariableNames:'' |
|
5 classVariableNames:'' |
|
6 poolDictionaries:'' |
|
7 category:'PetitCompiler-Nodes' |
|
8 ! |
|
9 |
|
10 PPCInlineStrategy class instanceVariableNames:'Instance' |
|
11 |
|
12 " |
|
13 No other class instance variables are inherited by this class. |
|
14 " |
|
15 ! |
|
16 |
|
17 !PPCInlineStrategy class methodsFor:'as yet unclassified'! |
|
18 |
|
19 instance |
|
20 ^ Instance ifNil: [ |
|
21 Instance := self basicNew initialize. |
|
22 ] |
|
23 ! |
|
24 |
|
25 new |
|
26 ^ self instance |
|
27 ! ! |
|
28 |
|
29 !PPCInlineStrategy methodsFor:'as yet unclassified'! |
|
30 |
|
31 return: compiler |
|
32 compiler add: ''. |
|
33 ! |
|
34 |
|
35 start: compiler id: id |
|
36 ^ compiler startInline: id |
|
37 ! |
|
38 |
|
39 stop: compiler |
|
40 ^ compiler stopInline |
|
41 ! ! |
|
42 |
|