summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_codegen.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-06-27 23:25:53 +0200
committerGitHub <noreply@github.com>2022-06-27 23:25:53 +0200
commitc4a426d6ec71865b971ad419bf925ce8b8f9c37b (patch)
tree4bcece6ac87faea0c66d76d647d8b151a54d4ecd /modules/gdscript/gdscript_codegen.h
parent25baa32db068af49cda1d79ea211c9df6c47a547 (diff)
parent511a4b761c3b5bf565f6e580fc9774a99e72a53e (diff)
Merge pull request #62462 from vnen/gdscript-setter-chaining
GDScript: Fix setter being called in chains for shared types
Diffstat (limited to 'modules/gdscript/gdscript_codegen.h')
-rw-r--r--modules/gdscript/gdscript_codegen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_codegen.h b/modules/gdscript/gdscript_codegen.h
index 326b66a295..81fa265aca 100644
--- a/modules/gdscript/gdscript_codegen.h
+++ b/modules/gdscript/gdscript_codegen.h
@@ -140,6 +140,8 @@ public:
virtual void write_if(const Address &p_condition) = 0;
virtual void write_else() = 0;
virtual void write_endif() = 0;
+ virtual void write_jump_if_shared(const Address &p_value) = 0;
+ virtual void write_end_jump_if_shared() = 0;
virtual void start_for(const GDScriptDataType &p_iterator_type, const GDScriptDataType &p_list_type) = 0;
virtual void write_for_assignment(const Address &p_variable, const Address &p_list) = 0;
virtual void write_for() = 0;