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
optLevelCodeGenOptOptimization level
relocationModeRelocationModeRelocation mode for generated code
codeModelCodeModelCodeModel to use for generated code
Returns
Remarks
This is normally only used with JIT support to get a TargetMachine for the current host.