godot/modules/gdscript
George Marques 4a7d49a89a
GDScript: Replace ptrcalls on MethodBind to validated calls
This improves the performance of typed calls to engine methods when the
argument types are exact.

Using validated calls delegate more of the work the core instead of
doing argument unpacking in the VM. It also does not need different
instructions for each return type, simplifying the code.
2023-10-06 11:15:44 -03:00
..
doc_classes GDScript: Add error when exporting node in non [Node]-derived classes 2023-10-05 13:50:26 +03:00
editor Merge pull request #82326 from adeneve/gdscript_dict_highlighter_fix 2023-10-05 22:49:47 +02:00
icons
language_server [Modules] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-26 16:44:52 +02:00
tests GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -03:00
.editorconfig
config.py
gdscript_analyzer.cpp GDScript: Add error when exporting node in non [Node]-derived classes 2023-10-05 13:50:26 +03:00
gdscript_analyzer.h
gdscript_byte_codegen.cpp GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -03:00
gdscript_byte_codegen.h GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -03:00
gdscript_cache.cpp [Modules] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-26 16:44:52 +02:00
gdscript_cache.h
gdscript_codegen.h GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -03:00
gdscript_compiler.cpp GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -03:00
gdscript_compiler.h
gdscript_disassembler.cpp GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -03:00
gdscript_editor.cpp GDScript: Fix native_type is empty for autoload without script 2023-10-04 16:09:18 +03:00
gdscript_function.cpp Fix expected argument count for Callable call errors 2023-09-29 20:00:10 +03:00
gdscript_function.h GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -03:00
gdscript_lambda_callable.cpp
gdscript_lambda_callable.h
gdscript_parser.cpp GDScript: Add error when exporting node in non [Node]-derived classes 2023-10-05 13:50:26 +03:00
gdscript_parser.h GDScript: Add error when exporting node in non [Node]-derived classes 2023-10-05 13:50:26 +03:00
gdscript_rpc_callable.cpp [Modules] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-26 16:44:52 +02:00
gdscript_rpc_callable.h
gdscript_tokenizer.cpp GDScript: Implement pattern guards for match statement 2023-09-27 11:25:25 -03:00
gdscript_tokenizer.h GDScript: Implement pattern guards for match statement 2023-09-27 11:25:25 -03:00
gdscript_utility_functions.cpp Fix expected argument count for Callable call errors 2023-09-29 20:00:10 +03:00
gdscript_utility_functions.h
gdscript_vm.cpp GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -03:00
gdscript_warning.cpp GDScript: Fix UNSAFE_CALL_ARGUMENT warning for Variant constructors 2023-09-30 13:57:09 +03:00
gdscript_warning.h GDScript: Add INFERRED_DECLARATION warning 2023-09-22 23:13:52 +03:00
gdscript.cpp Core: Fix Object::has_method() for script static methods 2023-10-04 19:44:32 +03:00
gdscript.h Core: Fix Object::has_method() for script static methods 2023-10-04 19:44:32 +03:00
register_types.cpp
register_types.h
SCsub