mirror of
https://github.com/godotengine/godot
synced 2024-11-02 12:55:22 +00:00
511a4b761c
When a type is shared (i.e. passed by reference) it doesn't need to be called in a setter chain (e.g. `a.b.c = 0`) since it will be updated in place. This commit adds an instruction that jumps when the value is shared so it can be used to skip those cases and avoid redundant calls of setters. It also solves issues when assigning to sub-properties of read-only properties. |
||
---|---|---|
.. | ||
doc_classes | ||
editor | ||
icons | ||
language_server | ||
tests | ||
config.py | ||
gdscript.cpp | ||
gdscript.h | ||
gdscript_analyzer.cpp | ||
gdscript_analyzer.h | ||
gdscript_byte_codegen.cpp | ||
gdscript_byte_codegen.h | ||
gdscript_cache.cpp | ||
gdscript_cache.h | ||
gdscript_codegen.h | ||
gdscript_compiler.cpp | ||
gdscript_compiler.h | ||
gdscript_disassembler.cpp | ||
gdscript_editor.cpp | ||
gdscript_function.cpp | ||
gdscript_function.h | ||
gdscript_lambda_callable.cpp | ||
gdscript_lambda_callable.h | ||
gdscript_parser.cpp | ||
gdscript_parser.h | ||
gdscript_rpc_callable.cpp | ||
gdscript_rpc_callable.h | ||
gdscript_tokenizer.cpp | ||
gdscript_tokenizer.h | ||
gdscript_utility_functions.cpp | ||
gdscript_utility_functions.h | ||
gdscript_vm.cpp | ||
gdscript_warning.cpp | ||
gdscript_warning.h | ||
register_types.cpp | ||
register_types.h | ||
SCsub |