private void HandleDeploymentStarting(IBuiltPackage topLevelPackage) { var executionServices = new HostExecutionServices(_executionTarget.Host); if (_llvmExecutionContext != null) { _llvmExecutionContext.Dispose(); } _llvmExecutionContext = new LLVM.ExecutionContext(executionServices); }
private void HandleDeploymentStarting(IBuiltPackage topLevelPackage) { var executionServices = new HostExecutionServices(_executionTarget.Host); if (!RebarFeatureToggles.IsLLVMCompilerEnabled) { _bytecodeInterpreterExecutionContext = new BytecodeInterpreter.ExecutionContext(executionServices); } else { _llvmExecutionContext = new LLVM.ExecutionContext(executionServices); } }