Esempio n. 1
0
 public static MugValue From(LLVMValueRef value, MugValueType type, bool isconst = false, bool isconstant = false)
 {
     return(new MugValue()
     {
         LLVMValue = value, Type = type, IsConst = isconst, IsConstant = isconstant
     });
 }
Esempio n. 2
0
 public static MugValue EnumError(EnumErrorStatement enumerror)
 {
     return(From(new LLVMValueRef(), MugValueType.EnumError(enumerror)));
 }
Esempio n. 3
0
 public static MugValue EnumMember(MugValueType enumerated, LLVMValueRef value)
 {
     return(From(value, enumerated));
 }
Esempio n. 4
0
 public static MugValue Enum(MugValueType enumerated)
 {
     return(From(new LLVMValueRef(), enumerated));
 }
Esempio n. 5
0
 public static MugValue Struct(LLVMValueRef structure, MugValueType type)
 {
     return(From(structure, type));
 }