summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_byte_codegen.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | GDScript: Add speficic set/get instructionsGeorge Marques2020-11-211-2/+134
| | | | | | | | | | When the base type is known at compile-time, we can get a direct function pointer that is faster than the regular set/get paths.
* | GDScript: Add faster operator for known typesGeorge Marques2020-11-211-0/+28
| | | | | | | | | | It now uses the direct operator function pointer, which increases performance in evaluation.
* | GDScript: Gather instructions arguments beforehandGeorge Marques2020-11-211-115/+111
|/ | | | | | | | | Almost all instructions need variant arguments. With this change they are loaded in an array before each instruction call. This makes the addressing code be localized to less places, improving compilation overhead and binary size by a small margin. This should not affect performance.
* Merge pull request #42067 from ThakeeNathees/for-loop-stack-overriden-fixGeorge Marques2020-10-191-3/+5
|\ | | | | GDScript: for loop override stack variable bug fix
| * GDScript: for loop override stack variable bug fixThakee Nathees2020-09-181-3/+5
| | | | | | | | Fix: #42050
* | GDScript crash on builtin type constructor fixThakee Nathees2020-09-081-0/+1
|/ | | | Fix: #41848
* Add GDScript code generation interfaceGeorge Marques2020-09-011-0/+736
Implement the abstraction by targeting the current VM.