Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-09-06 20:54:33 +0300
committerJacques Lucke <jacques@blender.org>2021-09-06 21:54:56 +0300
commit713da0fcc4833b45c3a11d85f376c3a97909576d (patch)
treec8a63885971f4e7f7e6418c4d5e4e3a8dc28d660
parent8ba889a4be4f97098cb60605531eed8841e52484 (diff)
remove unused function
-rw-r--r--source/blender/functions/FN_multi_function_procedure.hh2
-rw-r--r--source/blender/functions/intern/multi_function_procedure.cc14
2 files changed, 0 insertions, 16 deletions
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_) {