--- a/LLVMDIBuilder.st Wed Jan 27 14:20:58 2016 +0000
+++ b/LLVMDIBuilder.st Sun Feb 07 09:03:23 2016 +0000
@@ -142,31 +142,30 @@
"Created: / 15-08-2015 / 22:08:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
-createFunction: name in: scope file: file line: line type: type function: function local: isLocal definition: isDefinition optimized: isOptimized
- ^ self createFunction: name in: scope file: file line: line type: type function: function local: isLocal definition: isDefinition optimized: isOptimized flags: 0
+createFunction: name in: scope file: file line: line type: type local: isLocal definition: isDefinition optimized: isOptimized
+ ^ self createFunction: name in: scope file: file line: line type: type local: isLocal definition: isDefinition optimized: isOptimized flags: 0
- "Created: / 14-08-2015 / 13:47:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Created: / 07-02-2016 / 07:59:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
-createFunction: name in: scope file: file line: line type: type function: function local: isLocal definition: isDefinition optimized: isOptimized flags: flags
- ^ self createFunction: name in: scope file: file line: line type: type function: function local: isLocal definition: isDefinition optimized: isOptimized flags: flags scopeLine: line
+createFunction: name in: scope file: file line: line type: type local: isLocal definition: isDefinition optimized: isOptimized flags: flags
+ ^ self createFunction: name in: scope file: file line: line type: type local: isLocal definition: isDefinition optimized: isOptimized flags: flags scopeLine: line
- "Created: / 14-08-2015 / 13:47:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Created: / 07-02-2016 / 07:59:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
-createFunction: name in: scope file: file line: line type: type function: function local: isLocal definition: isDefinition optimized: isOptimized flags: flags scopeLine: scopeLine
- ^ self createFunction: name in: scope file: file line: line type: type function: function local: isLocal definition: isDefinition optimized: isOptimized flags: flags scopeLine: scopeLine linkageName: function name
+createFunction: name in: scope file: file line: line type: type local: isLocal definition: isDefinition optimized: isOptimized flags: flags scopeLine: scopeLine
+ ^ self createFunction: name in: scope file: file line: line type: type local: isLocal definition: isDefinition optimized: isOptimized flags: flags scopeLine: scopeLine linkageName: name
- "Created: / 14-08-2015 / 13:46:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Created: / 07-02-2016 / 07:58:40 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
-createFunction: name in: scope file: file line: line type: type function: function local: isLocal definition: isDefinition optimized: isOptimized flags: flags scopeLine: scopeLine linkageName: linkageName
+createFunction: name in: scope file: file line: line type: type local: isLocal definition: isDefinition optimized: isOptimized flags: flags scopeLine: scopeLine linkageName: linkageName
self assertIsDIScope: scope.
self assertIsDIFile: file.
self assertIsString: name.
self assertIsIntegerUnsigned: line.
- self assertIsFunctionValue: function.
self assertIsBoolean: isLocal.
self assertIsBoolean: isDefinition.
self assertIsBoolean: isOptimized.
@@ -174,10 +173,9 @@
self assertIsIntegerUnsigned: scopeLine.
self assertIsString: linkageName.
- ^ LLVMCEXT DIBuilderCreateFunction: self _: scope _: name _: linkageName _: file _: line _: type _: (isLocal ifTrue:[1] ifFalse:[0]) _: (isDefinition ifTrue:[1] ifFalse:[0]) _: scopeLine _: flags _: (isOptimized ifTrue:[1] ifFalse:[0]) _: function.
+ ^ LLVMCEXT DIBuilderCreateFunction: self _: scope _: name _: linkageName _: file _: line _: type _: (isLocal ifTrue:[1] ifFalse:[0]) _: (isDefinition ifTrue:[1] ifFalse:[0]) _: scopeLine _: flags _: (isOptimized ifTrue:[1] ifFalse:[0])
- "Created: / 14-08-2015 / 13:46:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 17-09-2015 / 17:04:15 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Created: / 07-02-2016 / 07:57:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
createParameterVariable: name in: scope file: file line: line type: type flags: flags index: index
@@ -204,17 +202,15 @@
"Modified: / 17-09-2015 / 17:13:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
-createTypeFunctionIn: file parameterTypes: parameterTypes
+createTypeFunction: parameterTypes
| parameterTypesAsTuple |
- self assertIsDIFile: file.
self assertIsDITypeArray: parameterTypes.
parameterTypesAsTuple := LLVMCEXT MDNode2: LLVM GetGlobalContext _: parameterTypes asLLVMObjectArray _: parameterTypes size.
- ^ LLVMCEXT DIBuilderCreateSubroutineType: self _: file _: parameterTypesAsTuple
+ ^ LLVMCEXT DIBuilderCreateSubroutineType: self _: parameterTypesAsTuple
- "Created: / 14-08-2015 / 08:57:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 17-09-2015 / 17:01:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Created: / 06-02-2016 / 15:25:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
createTypeScalar: name size: sizeInBits alignment: alignmentInBits encoding: encoding