Added testing and assestion methods to test metadata nodes for their type
...such as DIFile, DILocalVariable. These should be used by the Smalltalk API to make
sure it passes valid data to the C library. Otherwise the behaviour is undefined :-)
(except for Debug+Assert LLVM builds which calls abort(), not nice in Smalltalk context)
"
Copyright (C) 2015-now Jan Vrany
This code is not an open-source (yet). You may use this code
for your own experiments and projects, given that:
* all modification to the code will be sent to the
original author for inclusion in future releases
* this is not used in any commercial software
This license is provisional and may (will) change in
a future.
"
"{ Package: 'jv:llvm_s' }"
"{ NameSpace: Smalltalk }"
LLVMTypeScalar subclass:#LLVMTypeFP128
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'LLVM-S-Core-Types'
!
!LLVMTypeFP128 class methodsFor:'documentation'!
copyright
"
Copyright (C) 2015-now Jan Vrany
This code is not an open-source (yet). You may use this code
for your own experiments and projects, given that:
* all modification to the code will be sent to the
original author for inclusion in future releases
* this is not used in any commercial software
This license is provisional and may (will) change in
a future.
"
! !
!LLVMTypeFP128 methodsFor:'accessing'!
sizeInBits
"For integer, pointer, FP types, return the size in bits. For all
other types, throw an LLVMTypeError.
LLVMType int32 sizeInBits -> 32
LLVMType int1 sizeInBits -> 1
"
^ 128
"Created: / 13-08-2015 / 17:02:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!LLVMTypeFP128 methodsFor:'testing'!
isFP128Type
^ true
"Created: / 13-08-2015 / 16:51:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!LLVMTypeFP128 class methodsFor:'documentation'!
version_HG
^ '$Changeset: <not expanded> $'
! !