| 1103 | } |
| 1104 | |
| 1105 | void GDScriptByteCodeGenerator::write_super_call(const Address &p_target, const StringName &p_function_name, const Vector<Address> &p_arguments) { |
| 1106 | append_opcode_and_argcount(GDScriptFunction::OPCODE_CALL_SELF_BASE, 1 + p_arguments.size()); |
| 1107 | for (int i = 0; i < p_arguments.size(); i++) { |
| 1108 | append(p_arguments[i]); |
| 1109 | } |
| 1110 | CallTarget ct = get_call_target(p_target); |
| 1111 | append(ct.target); |
| 1112 | append(p_arguments.size()); |
| 1113 | append(p_function_name); |
| 1114 | ct.cleanup(); |
| 1115 | } |
| 1116 | |
| 1117 | void GDScriptByteCodeGenerator::write_call_async(const Address &p_target, const Address &p_base, const StringName &p_function_name, const Vector<Address> &p_arguments) { |
| 1118 | append_opcode_and_argcount(GDScriptFunction::OPCODE_CALL_ASYNC, 2 + p_arguments.size()); |
no test coverage detected