public MethodBuilder(LLVM.Builder builder, MethodData method) { _builder = builder; _method = method; _stack = new Stack<LLVM.Value>(); _params = new List<LLVM.Value>(); _variables = new List<LLVM.Value>(); _labels = new Dictionary<int, LLVM.BasicBlock>(); }
public MethodBuilder(LLVM.Builder builder, MethodData method) { _builder = builder; _method = method; _stack = new Stack <LLVM.Value>(); _params = new List <LLVM.Value>(); _variables = new List <LLVM.Value>(); _labels = new Dictionary <int, LLVM.BasicBlock>(); }
public static void Init(LLVM.Module module, LLVM.Builder builder) { if (_module == null) { _module = module; _builder = builder; _types = new Dictionary <TypeReference, CodeGenType>(); _methods = new Dictionary <MethodReference, MethodData>(); } }
public static void Init(LLVM.Module module, LLVM.Builder builder) { if (_module == null) { _module = module; _builder = builder; _types = new Dictionary<TypeReference, CodeGenType>(); _methods = new Dictionary<MethodReference, MethodData>(); } }