Commit: 3273d6be584f4d03cd1fbe62a1d21a9203b8b9fc
Author: Jacques Lucke
Date:   Fri Apr 5 12:31:34 2019 +0200
Branches: functions
https://developer.blender.org/rB3273d6be584f4d03cd1fbe62a1d21a9203b8b9fc

remove notes and unused variable

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

M       source/blender/functions/backends/llvm/ir_for_tuple_call.cpp
D       source/blender/functions/notes.txt

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

diff --git a/source/blender/functions/backends/llvm/ir_for_tuple_call.cpp 
b/source/blender/functions/backends/llvm/ir_for_tuple_call.cpp
index a9b71afbcc5..5bfc9f844a9 100644
--- a/source/blender/functions/backends/llvm/ir_for_tuple_call.cpp
+++ b/source/blender/functions/backends/llvm/ir_for_tuple_call.cpp
@@ -59,8 +59,6 @@ namespace FN {
                        CodeInterface &interface,
                        const BuildIRSettings &settings) const override
                {
-
-                       llvm::LLVMContext &context = builder.getContext();
                        Function *fn = m_tuple_call->owner();
 
                        /* Find relevant type information. */
diff --git a/source/blender/functions/notes.txt 
b/source/blender/functions/notes.txt
deleted file mode 100644
index 924244600f7..00000000000
--- a/source/blender/functions/notes.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-- Some types can have multiple owners and are reference counted.
-    - Function
-    - Type
-    - DataFlowGraph
-    - TupleMeta
-
-- Function bodies are owned by a single function.
-- A function can have multiple bodies.
-- A function can have at most one body of a certain type.
-
-- Type extensions are owned by a single type.
-- A type can have multiple extensions.
-- A type can have at most one extensions of a certain type.
-
-Inside a tuple call:
-    - A tuple call body can modify fn_in and fn_out.
-    - The underlying tuple buffers are owned by the caller and might be freed 
any time after the function finished.
-    - When a tuple is freed, all initialized values in it are freed.
-    - A tuple call body has to initialize all values in fn_out.
-    - fn_out might already contain initialized values on entry.
\ No newline at end of file

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to