diff --git a/src/Bytecode.hh b/src/Bytecode.hh index 9d867e55c95065cebfad731e13a3757bb06e0143..974aaad90a416bdda3344f70a9d0bb96329c05c8 100644 --- a/src/Bytecode.hh +++ b/src/Bytecode.hh @@ -69,8 +69,6 @@ enum class Tags FBINARY, // A binary operator FTRINARY, // A trinary operator - FCUML, // Cumulates the result - FJMPIFEVAL, // Jump if evaluate = true FJMP, // Jump @@ -217,14 +215,6 @@ public: }; }; -class FCUML_ : public BytecodeInstruction -{ -public: - FCUML_() : BytecodeInstruction{Tags::FCUML} - { - }; -}; - class FDIMT_ : public TagWithOneArgument<int> { public: @@ -1242,13 +1232,6 @@ public: tags_liste.emplace_back(Tags::FENDEQU, code); code += sizeof(FENDEQU_); break; - case Tags::FCUML: -# ifdef DEBUGL - mexPrintf("FCUML\n"); -# endif - tags_liste.emplace_back(Tags::FCUML, code); - code += sizeof(FCUML_); - break; case Tags::FDIMT: # ifdef DEBUGL mexPrintf("FDIMT = %d size = %d\n", Tags::FDIMT, sizeof(FDIMT_)); diff --git a/src/ModelTree.hh b/src/ModelTree.hh index f11ac7c9ab8b655a9085928f6dc79cf51350cdbc..7c0a57469d55ca41de7b0fa8472f9a60e8b03bca 100644 --- a/src/ModelTree.hh +++ b/src/ModelTree.hh @@ -1390,7 +1390,7 @@ ModelTree::writeBlockBytecodeHelper(BytecodeWriter &code_file, int block) const code_file << FLDSU_{index_u} << FLDSV_{SymbolType::endogenous, var}; code_file << FBINARY_{BinaryOpcode::times} - << FCUML_{}; + << FBINARY_{BinaryOpcode::plus}; } code_file << FBINARY_{BinaryOpcode::minus}; if constexpr(dynamic)