--- a/LLVMExamples.st Wed Jan 27 14:20:58 2016 +0000
+++ b/LLVMExamples.st Sun Feb 07 09:03:23 2016 +0000
@@ -432,10 +432,9 @@
functionType := LLVMType function:{ LLVMType intptr } returning:LLVMType intptr.
intptrDI := dib createTypeScalar: 'intptr' type: LLVMType intptr encoding: LLVM_DW_ATE_signed.
- functionTypeDI := dib createTypeFunctionIn: fileDI
- parameterTypes: { intptrDI }.
+ functionTypeDI := dib createTypeFunction: { intptrDI }.
function := module addFunctionNamed:'factorial' type:functionType.
- functionDI := dib createFunction: 'factorial' in: compilationUnitDI file: fileDI line: 03 type: functionTypeDI function: function local: false definition: true optimized: false.
+ functionDI := dib createFunction: 'factorial' in: compilationUnitDI file: fileDI line: 03 type: functionTypeDI local: false definition: true optimized: false.
dib createParameterVariable: 'v' in: functionDI file: fileDI line: 03 type: intptrDI flags: 0 index: 1.
asm := LLVMIRBuilder new.
entry := function entry.
@@ -562,6 +561,6 @@
LLVMExamples example7_factorial_with_debug_info"
"Created: / 14-08-2015 / 06:46:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 17-09-2015 / 17:13:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 06-02-2016 / 15:28:25 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !