Removed syntax for inline assembly, use <primitive: [:asm | ... ]> syntax.
This one is easier to implement and less introusive, syntax-wise. And follows
Smalltalk tradiiton.
"{ Package: 'jv:tea/compiler' }"
"{ NameSpace: Smalltalk }"
TBinding subclass:#TFunctionBinding
instanceVariableNames:'returnType parameterTypes'
classVariableNames:''
poolDictionaries:''
category:'Languages-Tea-Compiler-Bindings'
!
!TFunctionBinding methodsFor:'accessing'!
parameterTypes
^ parameterTypes
!
returnType
^ returnType
!
type
^ returnType
"Created: / 31-08-2015 / 12:03:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 02-09-2015 / 17:02:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!TFunctionBinding methodsFor:'converting'!
asLLVMValueInModule: aLLVMModule
self subclassResponsibility
"Created: / 15-09-2015 / 07:03:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!TFunctionBinding methodsFor:'initialization'!
parameterTypes: aCollection
parameterTypes := aCollection
"Created: / 02-09-2015 / 17:03:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
returnType: aTType
returnType := aTType
"Created: / 02-09-2015 / 17:03:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !