MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / write_or_left_operand

Method write_or_left_operand

modules/gdscript/gdscript_byte_codegen.cpp:731–736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729}
730
731void GDScriptByteCodeGenerator::write_or_left_operand(const Address &p_left_operand) {
732 append_opcode(GDScriptFunction::OPCODE_JUMP_IF);
733 append(p_left_operand);
734 logic_op_jump_pos1.push_back(opcodes.size());
735 append(0); // Jump target, will be patched.
736}
737
738void GDScriptByteCodeGenerator::write_or_right_operand(const Address &p_right_operand) {
739 append_opcode(GDScriptFunction::OPCODE_JUMP_IF);

Callers 2

_parse_expressionMethod · 0.80
_parse_match_patternMethod · 0.80

Calls 2

sizeMethod · 0.65
push_backMethod · 0.45

Tested by

no test coverage detected