diff -r 46dd1237b20a -r 3b81c9e53352 compiler/PPCInlinedMethod.st --- a/compiler/PPCInlinedMethod.st Fri Jul 31 14:07:31 2015 +0100 +++ b/compiler/PPCInlinedMethod.st Mon Aug 17 12:56:02 2015 +0100 @@ -9,7 +9,6 @@ category:'PetitCompiler-Compiler-Codegen' ! - !PPCInlinedMethod methodsFor:'as yet unclassified'! call @@ -18,6 +17,18 @@ "Modified: / 24-07-2015 / 19:45:13 / Jan Vrany " ! +callOn: receiver + self error: 'are you sure you want to inline code from different receiver? If so, remove me!!'. + ^ self code +! + +code + self error: 'deprecated?'. + ^ (String streamContents:[:s |" buffer codeOn:s "]) trimRight + + "Modified (format): / 01-06-2015 / 21:44:56 / Jan Vrany " +! + isInline ^ true ! @@ -34,6 +45,12 @@ !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 " +! + allocateReturnVariableNamed: name self error: 'return variable must be assigned by the non-inlined method....' @@ -46,10 +63,3 @@ "Created: / 23-04-2015 / 21:06:12 / Jan Vrany " ! ! -!PPCInlinedMethod class methodsFor:'documentation'! - -version_HG - - ^ '$Changeset: $' -! ! -