Merge pull request #79990 from vnen/gdscript-assume-op-types

GDScript: Optimize operators by assuming the types
This commit is contained in:
Yuri Sizov 2023-08-01 17:25:52 +02:00
commit f6e02dc437
4 changed files with 78 additions and 21 deletions

View file

@ -473,7 +473,7 @@ private:
MethodBind **_methods_ptr = nullptr;
int _lambdas_count = 0;
GDScriptFunction **_lambdas_ptr = nullptr;
const int *_code_ptr = nullptr;
int *_code_ptr = nullptr;
int _code_size = 0;
int _argument_count = 0;
int _stack_size = 0;