[Bf-blender-cvs] [8ba4f227ead] functions: remove printing

Jacques Lucke noreply at git.blender.org
Tue Mar 5 16:47:38 CET 2019


Commit: 8ba4f227ead645530f3cdf8d733d660aab5bffa0
Author: Jacques Lucke
Date:   Tue Mar 5 15:22:56 2019 +0100
Branches: functions
https://developer.blender.org/rB8ba4f227ead645530f3cdf8d733d660aab5bffa0

remove printing

===================================================================

M	source/blender/functions/backends/llvm/compile.cpp
M	source/blender/functions/frontends/data_flow_nodes/function_generation.cpp
M	source/blender/functions/frontends/data_flow_nodes/graph_generation.cpp

===================================================================

diff --git a/source/blender/functions/backends/llvm/compile.cpp b/source/blender/functions/backends/llvm/compile.cpp
index e8415bd06e5..aa6fd47f3dd 100644
--- a/source/blender/functions/backends/llvm/compile.cpp
+++ b/source/blender/functions/backends/llvm/compile.cpp
@@ -17,7 +17,7 @@ namespace FN {
 		llvm::Function *main_function)
 	{
 		BLI_assert(!llvm::verifyModule(*module, &llvm::outs()));
-		module->print(llvm::outs(), nullptr);
+		//module->print(llvm::outs(), nullptr);
 
 		llvm::ExecutionEngine *ee = llvm::EngineBuilder(
 			std::unique_ptr<llvm::Module>(module)).create();
diff --git a/source/blender/functions/frontends/data_flow_nodes/function_generation.cpp b/source/blender/functions/frontends/data_flow_nodes/function_generation.cpp
index 50369ab2b5f..4534bf2719e 100644
--- a/source/blender/functions/frontends/data_flow_nodes/function_generation.cpp
+++ b/source/blender/functions/frontends/data_flow_nodes/function_generation.cpp
@@ -19,6 +19,7 @@ namespace FN { namespace DataFlowNodes {
 
 		auto fn = SharedFunction::New(btree->id.name, fgraph.signature());
 		fgraph_add_DependenciesBody(fn, fgraph);
+		// fgraph_add_TupleCallBody(fn, fgraph);
 		fgraph_add_LLVMBuildIRBody(fn, fgraph);
 		derive_TupleCallBody_from_LLVMBuildIRBody(fn, *(new llvm::LLVMContext()));
 		return fn;
diff --git a/source/blender/functions/frontends/data_flow_nodes/graph_generation.cpp b/source/blender/functions/frontends/data_flow_nodes/graph_generation.cpp
index 753b50d4501..18c857ddd8d 100644
--- a/source/blender/functions/frontends/data_flow_nodes/graph_generation.cpp
+++ b/source/blender/functions/frontends/data_flow_nodes/graph_generation.cpp
@@ -131,7 +131,6 @@ namespace FN { namespace DataFlowNodes {
 		}
 
 		graph->freeze();
-		std::cout << graph->to_dot() << std::endl;
 		FunctionGraph fgraph(graph, input_sockets, output_sockets);
 		return fgraph;
 	}



More information about the Bf-blender-cvs mailing list