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 Optimize and fix up some SVGs 2023-08-13 17:48:17 +03:00
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 GDScript: Fix some lambda bugs 2023-09-14 14:22:23 +03:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
config.py [Scons] Implement module dependency sorting. 2022-08-04 20:00:19 +02: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
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: Fix lambda resolution with cyclic references 2023-08-25 16:29:11 +03:00
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 Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
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: Fix some lambda bugs 2023-09-14 14:22:23 +03:00
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: Fix some lambda bugs 2023-09-14 14:22:23 +03:00
gdscript_lambda_callable.h Fix `get_method` from named lambda 2023-08-11 20:31:08 +07:00
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 Fix `get_method` from named lambda 2023-08-11 20:31:08 +07:00
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 One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
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
register_types.cpp Re-architect how Android plugins are packaged and handled at export time 2023-07-18 19:14:53 +02:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00