| 1833 | } |
| 1834 | |
| 1835 | void GDScriptByteCodeGenerator::write_newline(int p_line) { |
| 1836 | if (GDScriptLanguage::get_singleton()->should_track_call_stack()) { |
| 1837 | // Add newline for debugger and stack tracking if enabled in the project settings. |
| 1838 | append_opcode(GDScriptFunction::OPCODE_LINE); |
| 1839 | append(p_line); |
| 1840 | current_line = p_line; |
| 1841 | } |
| 1842 | } |
| 1843 | |
| 1844 | void GDScriptByteCodeGenerator::write_return(const Address &p_return_value) { |
| 1845 | if (!function->return_type.has_type || p_return_value.type.has_type) { |
no test coverage detected