[Bf-blender-cvs] [713da0fcc48] temp-geometry-nodes-fields: remove unused function
Jacques Lucke
noreply at git.blender.org
Mon Sep 6 20:55:38 CEST 2021
Commit: 713da0fcc4833b45c3a11d85f376c3a97909576d
Author: Jacques Lucke
Date: Mon Sep 6 19:54:33 2021 +0200
Branches: temp-geometry-nodes-fields
https://developer.blender.org/rB713da0fcc4833b45c3a11d85f376c3a97909576d
remove unused function
===================================================================
M source/blender/functions/FN_multi_function_procedure.hh
M source/blender/functions/intern/multi_function_procedure.cc
===================================================================
diff --git a/source/blender/functions/FN_multi_function_procedure.hh b/source/blender/functions/FN_multi_function_procedure.hh
index 2bf89a38fdd..62f2292c1d9 100644
--- a/source/blender/functions/FN_multi_function_procedure.hh
+++ b/source/blender/functions/FN_multi_function_procedure.hh
@@ -246,8 +246,6 @@ class MFProcedure : NonCopyable, NonMovable {
Span<MFVariable *> variables();
Span<const MFVariable *> variables() const;
- void assert_valid() const;
-
std::string to_dot() const;
bool validate() const;
diff --git a/source/blender/functions/intern/multi_function_procedure.cc b/source/blender/functions/intern/multi_function_procedure.cc
index 7d96491f5e0..6eff7bc09f8 100644
--- a/source/blender/functions/intern/multi_function_procedure.cc
+++ b/source/blender/functions/intern/multi_function_procedure.cc
@@ -186,20 +186,6 @@ void MFProcedure::set_entry(MFInstruction &entry)
entry_ = &entry;
}
-void MFProcedure::assert_valid() const
-{
- /**
- * - Non parameter variables are destructed.
- * - At every instruction, every variable is either initialized or uninitialized.
- * - Input and mutable parameters of call instructions are initialized.
- * - Condition of branch instruction is initialized.
- * - Output parameters of call instructions are not initialized.
- * - Input parameters are never destructed.
- * - Mutable and output parameteres are initialized on every exit.
- * - No aliasing issues in call instructions (can happen when variable is used more than once).
- */
-}
-
MFProcedure::~MFProcedure()
{
for (MFCallInstruction *instruction : call_instructions_) {
More information about the Bf-blender-cvs
mailing list