Clean up FpySequencer directives#4395
Conversation
| case Fpy::DirectiveId::IADD: | ||
| error = this->op_iadd(); | ||
| case Fpy::DirectiveId::ADD: | ||
| error = this->op_add(); |
Check warning
Code scanning / CodeQL
Unchecked function argument Warning
| case Fpy::DirectiveId::IADD: | ||
| error = this->op_iadd(); | ||
| case Fpy::DirectiveId::ADD: | ||
| error = this->op_add(); |
Check warning
Code scanning / CodeQL
Unchecked return value Warning
| case Fpy::DirectiveId::ISUB: | ||
| error = this->op_isub(); | ||
| case Fpy::DirectiveId::SUB: | ||
| error = this->op_sub(); |
Check warning
Code scanning / CodeQL
Unchecked function argument Warning
| case Fpy::DirectiveId::ISUB: | ||
| error = this->op_isub(); | ||
| case Fpy::DirectiveId::SUB: | ||
| error = this->op_sub(); |
Check warning
Code scanning / CodeQL
Unchecked return value Warning
| case Fpy::DirectiveId::IMUL: | ||
| error = this->op_imul(); | ||
| case Fpy::DirectiveId::MUL: | ||
| error = this->op_mul(); |
Check warning
Code scanning / CodeQL
Unchecked function argument Warning
| case Fpy::DirectiveId::IMUL: | ||
| error = this->op_imul(); | ||
| case Fpy::DirectiveId::MUL: | ||
| error = this->op_mul(); |
Check warning
Code scanning / CodeQL
Unchecked return value Warning
| return DirectiveError::NO_ERROR; | ||
| } | ||
| DirectiveError FpySequencer::op_iadd() { | ||
| DirectiveError FpySequencer::op_add() { |
Check notice
Code scanning / CodeQL
Long function without assertion Note
| return DirectiveError::NO_ERROR; | ||
| } | ||
| DirectiveError FpySequencer::op_isub() { | ||
| DirectiveError FpySequencer::op_sub() { |
Check notice
Code scanning / CodeQL
Long function without assertion Note
| return DirectiveError::NO_ERROR; | ||
| } | ||
| DirectiveError FpySequencer::op_imul() { | ||
| DirectiveError FpySequencer::op_mul() { |
Check notice
Code scanning / CodeQL
Long function without assertion Note
|
@LeStarch what's going on with the builds here? |
Change Description
Rationale
This keeps the bytecode simple and consistent with other bytecodes.
AI Usage (see policy)
Updated docs, renamed bytecode ops