--- a/compiler/PPCInlinedMethod.st Tue Apr 21 17:20:11 2015 +0100
+++ b/compiler/PPCInlinedMethod.st Thu Apr 30 23:43:14 2015 +0200
@@ -3,7 +3,7 @@
"{ NameSpace: Smalltalk }"
PPCMethod subclass:#PPCInlinedMethod
- instanceVariableNames:'code'
+ instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'PetitCompiler-Core'
@@ -16,6 +16,24 @@
!
code
- ^ buffer contents trim
+ ^ buffer contents trimRight
+!
+
+isInline
+ ^ true
! !
+!PPCInlinedMethod methodsFor:'code generation - variables'!
+
+allocateReturnVariable
+ self error: 'return variable must be assigned by the non-inlined method....'
+
+ "Created: / 23-04-2015 / 21:06:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+allocateTemporaryVariableNamed:aString
+ self error: 'sorry, I can''t allocate variables....'
+
+ "Created: / 23-04-2015 / 21:06:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+