Method AddCase
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
AddCase(Value, BasicBlock)
Adds a new case to the Switch instruction
public void AddCase(Value onVal, BasicBlock destination)
Parameters
onVal
ValueValue for the case to match
destination
BasicBlockDestination BasicBlock if the case matches