godot/modules/gdscript
George Marques cf4079cb5f
Reduce number of addressing modes in GDScript VM
There's now only 3 addressing modes: stack, constant, and member.

Self, class, and nil are now present respectively in the first 3 stack
slots. Global and class constants are moved to local constants when
compiling. Named globals is only present on editor to use on tool
singletons, so its use now emits a new instruction to copy the global to
the stack.

This allow us to further optimize the VM later by embedding the
addressing modes in the instructions themselves, which is better done
with less permutations.
2021-04-08 14:29:55 -03:00
..
doc_classes doc: Sync classref with current source 2021-01-04 14:33:44 +01:00
editor Improve resource load cache 2021-02-11 15:44:28 -03:00
icons Optimize SVG using `svgcleaner --multipass` 2020-10-25 10:02:37 +01:00
language_server Merge pull request #40276 from Taywee/master 2021-02-25 17:26:26 +01:00
tests Add unit tests for export templates 2021-03-22 18:57:08 +00:00
SCsub Register GDScript test tools as test commands to run via command-line 2020-09-02 01:43:26 +03:00
config.py Unregister GDScriptFunctionState class 2020-11-26 21:39:54 -03:00
gdscript.cpp Style: Apply clang-tidy's `modernize-use-nullptr` 2021-04-05 14:05:07 +02:00
gdscript.h Improve resource load cache 2021-02-11 15:44:28 -03:00
gdscript_analyzer.cpp Merge pull request #47131 from vnen/gdscript-export-fix 2021-03-30 15:12:04 +02:00
gdscript_analyzer.h Move GDSript annotation application after type-checking 2021-03-30 08:29:36 -03:00
gdscript_byte_codegen.cpp Reduce number of addressing modes in GDScript VM 2021-04-08 14:29:55 -03:00
gdscript_byte_codegen.h Reduce number of addressing modes in GDScript VM 2021-04-08 14:29:55 -03:00
gdscript_cache.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript_cache.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript_codegen.h Reduce number of addressing modes in GDScript VM 2021-04-08 14:29:55 -03:00
gdscript_compiler.cpp Reduce number of addressing modes in GDScript VM 2021-04-08 14:29:55 -03:00
gdscript_compiler.h Reduce number of addressing modes in GDScript VM 2021-04-08 14:29:55 -03:00
gdscript_disassembler.cpp Reduce number of addressing modes in GDScript VM 2021-04-08 14:29:55 -03:00
gdscript_editor.cpp Fix infinite loop when guessing argument type from parent class 2021-04-05 16:39:41 +02:00
gdscript_function.cpp Fixes small typos and grammar correction 2021-03-12 19:05:16 +05:30
gdscript_function.h Reduce number of addressing modes in GDScript VM 2021-04-08 14:29:55 -03:00
gdscript_parser.cpp GDScript: Implement export of typed arrays 2021-03-30 08:29:38 -03:00
gdscript_parser.h GDScript: Allow export of enum variables 2021-03-30 08:29:38 -03:00
gdscript_tokenizer.cpp Fix missing quote in multiline GDScript string 2021-03-19 01:24:18 +01:00
gdscript_tokenizer.h Initialize class/struct variables with default values in modules/ 2021-02-08 10:57:18 +01:00
gdscript_utility_functions.cpp Rename Array.invert() to Array.reverse() 2021-03-21 10:20:08 +00:00
gdscript_utility_functions.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript_vm.cpp Reduce number of addressing modes in GDScript VM 2021-04-08 14:29:55 -03:00
gdscript_warning.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript_warning.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
register_types.cpp Move GDSript annotation application after type-checking 2021-03-30 08:29:36 -03:00
register_types.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00