Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No more static wrapping of function arguments... it's just ugly.

  • Loading branch information...
commit 568d275d68417a194cf5f9efd1f925c5db7c4976 1 parent e76a556
@tsion authored
Showing with 8 additions and 19 deletions.
  1. +8 −19 llvm/Core.ooc
View
27 llvm/Core.ooc
@@ -17,8 +17,7 @@ Context: cover from LLVMContextRef {
fp128: extern(LLVMFP128TypeInContext) func -> Value
ppc_fp128: extern(LLVMPPCFP128TypeInContext) func -> Value
- struct: extern(LLVMStructTypeInContext) func (elementTypes: Type*,
- elementCount: UInt, isPacked: Int) -> Value
+ struct: extern(LLVMStructTypeInContext) func (elementTypes: Type*, elementCount: UInt, isPacked: Int) -> Value
void: extern(LLVMVoidTypeInContext) func -> Value
label: extern(LLVMLabelTypeInContext) func -> Value
@@ -81,8 +80,7 @@ Type: cover from LLVMTypeRef {
getParamTypes: extern(LLVMGetParamTypes) func (dest: This*)
// Struct types
- structType: extern(LLVMStructType) static func (elementTypes: This*,
- elementCount: UInt, isPacked: Int) -> This
+ structType: extern(LLVMStructType) static func (elementTypes: This*, elementCount: UInt, isPacked: Int) -> This
countStructElementTypes: extern(LLVMCountStructElementTypes) func -> UInt
getStructElementTypes: extern(LLVMGetStructElementTypes) func (dest: This*)
isPackedStruct: extern(LLVMIsPackedStruct) func -> Int
@@ -160,15 +158,9 @@ Builder: cover from LLVMBuilderRef {
aggregateRet: extern(LLVMBuildAggregateRet) func (Value*, UInt) -> Value
br: extern(LLVMBuildBr) func (dest: BasicBlock) -> Value
- condBr: extern(LLVMBuildCondBr) func (condition: Value,
- thenBlock: BasicBlock, elseBlock: BasicBlock) -> Value
-
- switch: extern(LLVMBuildSwitch) func (val: Value, elseBlock: BasicBlock,
- numCases: UInt) -> Value
-
- invoke: extern(LLVMBuildInvoke) func (fn: Value, args: Value*,
- numArgs: UInt, thenBlock: BasicBlock, catchBlock: BasicBlock,
- name: String) -> Value
+ condBr: extern(LLVMBuildCondBr) func (condition: Value, thenBlock: BasicBlock, elseBlock: BasicBlock) -> Value
+ switch: extern(LLVMBuildSwitch) func (val: Value, elseBlock: BasicBlock, numCases: UInt) -> Value
+ invoke: extern(LLVMBuildInvoke) func (fn: Value, args: Value*, numArgs: UInt, thenBlock: BasicBlock, catchBlock: BasicBlock, name: String) -> Value
unwind: extern(LLVMBuildUnwind) func -> Value
unreachable: extern(LLVMBuildUnreachable) func -> Value
@@ -210,12 +202,9 @@ Builder: cover from LLVMBuilderRef {
load: extern(LLVMBuildLoad) func (pointer: Value, name: String) -> Value
store: extern(LLVMBuildStore) func (val: Value, ptr: Value) -> Value
- gep: extern(LLVMBuildGEP) func (ptr: Value, indices: Value*,
- numIndicies: UInt, name: String) -> Value
- gep_inbounds: extern(LLVMBuildInBoundsGEP) func (ptr: Value,
- indices: Value*, numIndicies: UInt, name: String) -> Value
- gep_struct: extern(LLVMBuildStructGEP) func (ptr: Value, idx: UInt,
- name: String) -> Value
+ gep: extern(LLVMBuildGEP) func (ptr: Value, indices: Value*, numIndicies: UInt, name: String) -> Value
+ gep_inbounds: extern(LLVMBuildInBoundsGEP) func (ptr: Value, indices: Value*, numIndicies: UInt, name: String) -> Value
+ gep_struct: extern(LLVMBuildStructGEP) func (ptr: Value, idx: UInt, name: String) -> Value
globalString: extern(LLVMBuildGlobalString) func (str: String, name: String) -> Value
globalStringPtr: extern(LLVMBuildGlobalStringPtr) func (str: String, name: String) -> Value
Please sign in to comment.
Something went wrong with that request. Please try again.