LLVMTargetData.st
changeset 4 d33c64726c86
parent 2 53abac7217de
child 12 f98e97fd02ef
equal deleted inserted replaced
3:ddfc3a7db3a8 4:d33c64726c86
     7 	classVariableNames:''
     7 	classVariableNames:''
     8 	poolDictionaries:''
     8 	poolDictionaries:''
     9 	category:'LLVM-Core'
     9 	category:'LLVM-Core'
    10 !
    10 !
    11 
    11 
       
    12 
       
    13 !LLVMTargetData class methodsFor:'instance creation'!
       
    14 
       
    15 new
       
    16     ^ self newFromDescription: ''
       
    17 
       
    18     "Created: / 11-07-2015 / 07:04:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    19 !
       
    20 
       
    21 newFromDescription: aString
       
    22     self assert: aString isSingleByteString.
       
    23     ^ LLVM CreateTargetData: aString
       
    24 
       
    25     "Created: / 11-07-2015 / 07:03:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    26 ! !
    12 
    27 
    13 !LLVMTargetData methodsFor:'initialization & release'!
    28 !LLVMTargetData methodsFor:'initialization & release'!
    14 
    29 
    15 dispose
    30 dispose
    16     ^ LLVM DisposeTargetData: self
    31     ^ LLVM DisposeTargetData: self