Method HostMachine
HostMachine(CodeGenOpt, RelocationMode, CodeModel)
Gets a target machine for the current host
public static TargetMachine HostMachine(CodeGenOpt optLevel = CodeGenOpt.Default, RelocationMode relocationMode = RelocationMode.Default, CodeModel codeModel = CodeModel.Default)
Parameters
optLevel
CodeGenOptOptimization level
relocationMode
RelocationModeRelocation mode for generated code
codeModel
CodeModelCodeModel to use for generated code
Returns
Remarks
This is normally only used with JIT support to get a TargetMachine for the current host.