| 
									
										
										
										
											2021-06-03 10:46:30 +02:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Copyright (c) 2021, Andreas Kling <kling@serenityos.org> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * SPDX-License-Identifier: BSD-2-Clause | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <AK/OwnPtr.h>
 | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  | #include <AK/SinglyLinkedList.h>
 | 
					
						
							|  |  |  | #include <LibJS/Bytecode/BasicBlock.h>
 | 
					
						
							| 
									
										
										
										
											2022-02-12 19:54:08 +03:30
										 |  |  | #include <LibJS/Bytecode/CodeGenerationError.h>
 | 
					
						
							| 
									
										
										
										
											2021-10-24 13:30:49 +02:00
										 |  |  | #include <LibJS/Bytecode/Executable.h>
 | 
					
						
							| 
									
										
										
										
											2021-10-24 15:34:30 +02:00
										 |  |  | #include <LibJS/Bytecode/IdentifierTable.h>
 | 
					
						
							| 
									
										
										
										
											2021-06-04 12:07:38 +02:00
										 |  |  | #include <LibJS/Bytecode/Label.h>
 | 
					
						
							| 
									
										
										
										
											2021-06-11 01:35:01 +04:30
										 |  |  | #include <LibJS/Bytecode/Op.h>
 | 
					
						
							| 
									
										
										
										
											2021-06-09 00:50:42 +02:00
										 |  |  | #include <LibJS/Bytecode/Register.h>
 | 
					
						
							| 
									
										
										
										
											2021-06-09 10:02:01 +02:00
										 |  |  | #include <LibJS/Bytecode/StringTable.h>
 | 
					
						
							| 
									
										
										
										
											2021-06-03 10:46:30 +02:00
										 |  |  | #include <LibJS/Forward.h>
 | 
					
						
							| 
									
										
										
										
											2021-11-11 00:46:07 +03:30
										 |  |  | #include <LibJS/Runtime/FunctionKind.h>
 | 
					
						
							| 
									
										
										
										
											2021-06-03 10:46:30 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | namespace JS::Bytecode { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class Generator { | 
					
						
							|  |  |  | public: | 
					
						
							| 
									
										
										
										
											2022-02-12 19:48:45 +03:30
										 |  |  |     enum class SurroundingScopeKind { | 
					
						
							|  |  |  |         Global, | 
					
						
							|  |  |  |         Function, | 
					
						
							|  |  |  |         Block, | 
					
						
							|  |  |  |     }; | 
					
						
							| 
									
										
										
										
											2022-02-12 19:54:08 +03:30
										 |  |  |     static CodeGenerationErrorOr<NonnullOwnPtr<Executable>> generate(ASTNode const&, FunctionKind = FunctionKind::Normal); | 
					
						
							| 
									
										
										
										
											2021-06-03 10:46:30 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |     Register allocate_register(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-11 01:35:01 +04:30
										 |  |  |     void ensure_enough_space(size_t size) | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         // Make sure there's always enough space for a single jump at the end.
 | 
					
						
							|  |  |  |         if (!m_current_basic_block->can_grow(size + sizeof(Op::Jump))) { | 
					
						
							|  |  |  |             auto& new_block = make_block(); | 
					
						
							|  |  |  |             emit<Op::Jump>().set_targets( | 
					
						
							|  |  |  |                 Label { new_block }, | 
					
						
							|  |  |  |                 {}); | 
					
						
							|  |  |  |             switch_to_basic_block(new_block); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-03 10:46:30 +02:00
										 |  |  |     template<typename OpType, typename... Args> | 
					
						
							| 
									
										
										
										
											2021-06-09 00:50:42 +02:00
										 |  |  |     OpType& emit(Args&&... args) | 
					
						
							| 
									
										
										
										
											2021-06-03 10:46:30 +02:00
										 |  |  |     { | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  |         VERIFY(!is_current_block_terminated()); | 
					
						
							| 
									
										
										
										
											2021-06-11 01:35:01 +04:30
										 |  |  |         // If the block doesn't have enough space, switch to another block
 | 
					
						
							|  |  |  |         if constexpr (!OpType::IsTerminator) | 
					
						
							|  |  |  |             ensure_enough_space(sizeof(OpType)); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-09 00:50:42 +02:00
										 |  |  |         void* slot = next_slot(); | 
					
						
							|  |  |  |         grow(sizeof(OpType)); | 
					
						
							|  |  |  |         new (slot) OpType(forward<Args>(args)...); | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  |         if constexpr (OpType::IsTerminator) | 
					
						
							| 
									
										
										
										
											2022-11-26 14:42:36 +01:00
										 |  |  |             m_current_basic_block->terminate({}, static_cast<Instruction const*>(slot)); | 
					
						
							| 
									
										
										
										
											2021-06-09 00:50:42 +02:00
										 |  |  |         return *static_cast<OpType*>(slot); | 
					
						
							| 
									
										
										
										
											2021-06-07 15:12:43 +02:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     template<typename OpType, typename... Args> | 
					
						
							| 
									
										
										
										
											2021-06-09 00:50:42 +02:00
										 |  |  |     OpType& emit_with_extra_register_slots(size_t extra_register_slots, Args&&... args) | 
					
						
							| 
									
										
										
										
											2021-06-07 15:12:43 +02:00
										 |  |  |     { | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  |         VERIFY(!is_current_block_terminated()); | 
					
						
							| 
									
										
										
										
											2022-09-09 16:47:42 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |         size_t size_to_allocate = round_up_to_power_of_two(sizeof(OpType) + extra_register_slots * sizeof(Register), alignof(void*)); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-11 01:35:01 +04:30
										 |  |  |         // If the block doesn't have enough space, switch to another block
 | 
					
						
							|  |  |  |         if constexpr (!OpType::IsTerminator) | 
					
						
							| 
									
										
										
										
											2022-09-09 16:47:42 +02:00
										 |  |  |             ensure_enough_space(size_to_allocate); | 
					
						
							| 
									
										
										
										
											2021-06-11 01:35:01 +04:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-09 00:50:42 +02:00
										 |  |  |         void* slot = next_slot(); | 
					
						
							| 
									
										
										
										
											2022-09-09 16:47:42 +02:00
										 |  |  |         grow(size_to_allocate); | 
					
						
							| 
									
										
										
										
											2021-06-09 00:50:42 +02:00
										 |  |  |         new (slot) OpType(forward<Args>(args)...); | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  |         if constexpr (OpType::IsTerminator) | 
					
						
							| 
									
										
										
										
											2022-11-26 14:42:36 +01:00
										 |  |  |             m_current_basic_block->terminate({}, static_cast<Instruction const*>(slot)); | 
					
						
							| 
									
										
										
										
											2021-06-09 00:50:42 +02:00
										 |  |  |         return *static_cast<OpType*>(slot); | 
					
						
							| 
									
										
										
										
											2021-06-03 10:46:30 +02:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-12 19:54:08 +03:30
										 |  |  |     CodeGenerationErrorOr<void> emit_load_from_reference(JS::ASTNode const&); | 
					
						
							|  |  |  |     CodeGenerationErrorOr<void> emit_store_to_reference(JS::ASTNode const&); | 
					
						
							| 
									
										
										
										
											2022-03-27 19:50:09 +01:00
										 |  |  |     CodeGenerationErrorOr<void> emit_delete_reference(JS::ASTNode const&); | 
					
						
							| 
									
										
										
										
											2021-10-25 15:16:22 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-16 10:25:05 +02:00
										 |  |  |     void push_home_object(Register); | 
					
						
							|  |  |  |     void pop_home_object(); | 
					
						
							|  |  |  |     void emit_new_function(JS::FunctionNode const&); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-08 19:23:00 -05:00
										 |  |  |     void begin_continuable_scope(Label continue_target, Vector<DeprecatedFlyString> const& language_label_set); | 
					
						
							| 
									
										
										
										
											2021-06-06 13:33:02 +02:00
										 |  |  |     void end_continuable_scope(); | 
					
						
							| 
									
										
										
										
											2023-01-08 19:23:00 -05:00
										 |  |  |     void begin_breakable_scope(Label breakable_target, Vector<DeprecatedFlyString> const& language_label_set); | 
					
						
							| 
									
										
										
										
											2021-06-10 20:28:43 +08:00
										 |  |  |     void end_breakable_scope(); | 
					
						
							| 
									
										
										
										
											2021-06-06 13:33:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  |     [[nodiscard]] Label nearest_continuable_scope() const; | 
					
						
							| 
									
										
										
										
											2021-06-10 20:28:43 +08:00
										 |  |  |     [[nodiscard]] Label nearest_breakable_scope() const; | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  | 
 | 
					
						
							|  |  |  |     void switch_to_basic_block(BasicBlock& block) | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         m_current_basic_block = █ | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-10 15:04:38 +02:00
										 |  |  |     [[nodiscard]] BasicBlock& current_block() { return *m_current_basic_block; } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-04 18:02:33 +00:00
										 |  |  |     BasicBlock& make_block(DeprecatedString name = {}) | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  |     { | 
					
						
							|  |  |  |         if (name.is_empty()) | 
					
						
							| 
									
										
										
										
											2022-12-04 18:02:33 +00:00
										 |  |  |             name = DeprecatedString::number(m_next_block++); | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  |         m_root_basic_blocks.append(BasicBlock::create(name)); | 
					
						
							| 
									
										
										
										
											2023-03-06 17:16:25 +01:00
										 |  |  |         return *m_root_basic_blocks.last(); | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     bool is_current_block_terminated() const | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         return m_current_basic_block->is_terminated(); | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2021-06-06 13:33:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-04 18:02:33 +00:00
										 |  |  |     StringTableIndex intern_string(DeprecatedString string) | 
					
						
							| 
									
										
										
										
											2021-06-09 10:02:01 +02:00
										 |  |  |     { | 
					
						
							| 
									
										
										
										
											2021-10-24 15:14:14 +02:00
										 |  |  |         return m_string_table->insert(move(string)); | 
					
						
							| 
									
										
										
										
											2021-06-09 10:02:01 +02:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-08 19:23:00 -05:00
										 |  |  |     IdentifierTableIndex intern_identifier(DeprecatedFlyString string) | 
					
						
							| 
									
										
										
										
											2021-10-24 15:34:30 +02:00
										 |  |  |     { | 
					
						
							|  |  |  |         return m_identifier_table->insert(move(string)); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-11 00:46:07 +03:30
										 |  |  |     bool is_in_generator_or_async_function() const { return m_enclosing_function_kind == FunctionKind::Async || m_enclosing_function_kind == FunctionKind::Generator; } | 
					
						
							|  |  |  |     bool is_in_generator_function() const { return m_enclosing_function_kind == FunctionKind::Generator; } | 
					
						
							|  |  |  |     bool is_in_async_function() const { return m_enclosing_function_kind == FunctionKind::Async; } | 
					
						
							| 
									
										
										
										
											2021-06-11 01:38:30 +04:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-12 19:48:45 +03:30
										 |  |  |     enum class BindingMode { | 
					
						
							|  |  |  |         Lexical, | 
					
						
							|  |  |  |         Var, | 
					
						
							|  |  |  |         Global, | 
					
						
							|  |  |  |     }; | 
					
						
							|  |  |  |     struct LexicalScope { | 
					
						
							|  |  |  |         SurroundingScopeKind kind; | 
					
						
							|  |  |  |         BindingMode mode; | 
					
						
							|  |  |  |         HashTable<IdentifierTableIndex> known_bindings; | 
					
						
							|  |  |  |     }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     void register_binding(IdentifierTableIndex identifier, BindingMode mode = BindingMode::Lexical) | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         m_variable_scopes.last_matching([&](auto& x) { return x.mode == BindingMode::Global || x.mode == mode; })->known_bindings.set(identifier); | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2022-07-17 19:09:19 +01:00
										 |  |  |     bool has_binding(IdentifierTableIndex identifier, Optional<BindingMode> const& specific_binding_mode = {}) const | 
					
						
							| 
									
										
										
										
											2022-02-12 19:48:45 +03:30
										 |  |  |     { | 
					
						
							|  |  |  |         for (auto index = m_variable_scopes.size(); index > 0; --index) { | 
					
						
							|  |  |  |             auto& scope = m_variable_scopes[index - 1]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             if (scope.mode != BindingMode::Global && specific_binding_mode.value_or(scope.mode) != scope.mode) | 
					
						
							|  |  |  |                 continue; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             if (scope.known_bindings.contains(identifier)) | 
					
						
							|  |  |  |                 return true; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |         return false; | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2022-07-17 19:09:19 +01:00
										 |  |  |     bool has_binding_in_current_scope(IdentifierTableIndex identifier) const | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         if (m_variable_scopes.is_empty()) | 
					
						
							|  |  |  |             return false; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         return m_variable_scopes.last().known_bindings.contains(identifier); | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2022-03-14 02:34:01 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |     void begin_variable_scope(BindingMode mode = BindingMode::Lexical, SurroundingScopeKind kind = SurroundingScopeKind::Block); | 
					
						
							|  |  |  |     void end_variable_scope(); | 
					
						
							| 
									
										
										
										
											2022-02-12 19:48:45 +03:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-03-13 11:51:02 +03:30
										 |  |  |     enum class BlockBoundaryType { | 
					
						
							|  |  |  |         Break, | 
					
						
							|  |  |  |         Continue, | 
					
						
							|  |  |  |         Unwind, | 
					
						
							| 
									
										
										
										
											2022-11-13 20:56:53 +01:00
										 |  |  |         ReturnToFinally, | 
					
						
							| 
									
										
										
										
											2022-03-14 02:34:01 +00:00
										 |  |  |         LeaveLexicalEnvironment, | 
					
						
							|  |  |  |         LeaveVariableEnvironment, | 
					
						
							| 
									
										
										
										
											2022-03-13 11:51:02 +03:30
										 |  |  |     }; | 
					
						
							|  |  |  |     template<typename OpType> | 
					
						
							| 
									
										
										
										
											2022-11-25 16:42:29 +01:00
										 |  |  |     void perform_needed_unwinds() | 
					
						
							|  |  |  |     requires(OpType::IsTerminator && !IsSame<OpType, Op::Jump>) | 
					
						
							| 
									
										
										
										
											2022-03-13 11:51:02 +03:30
										 |  |  |     { | 
					
						
							|  |  |  |         for (size_t i = m_boundaries.size(); i > 0; --i) { | 
					
						
							|  |  |  |             auto boundary = m_boundaries[i - 1]; | 
					
						
							| 
									
										
										
										
											2022-11-13 20:56:53 +01:00
										 |  |  |             using enum BlockBoundaryType; | 
					
						
							|  |  |  |             switch (boundary) { | 
					
						
							|  |  |  |             case Unwind: | 
					
						
							| 
									
										
										
										
											2022-11-25 16:42:29 +01:00
										 |  |  |                 if constexpr (IsSame<OpType, Bytecode::Op::Throw>) | 
					
						
							|  |  |  |                     return; | 
					
						
							| 
									
										
										
										
											2022-03-13 11:51:02 +03:30
										 |  |  |                 emit<Bytecode::Op::LeaveUnwindContext>(); | 
					
						
							| 
									
										
										
										
											2022-11-13 20:56:53 +01:00
										 |  |  |                 break; | 
					
						
							|  |  |  |             case LeaveLexicalEnvironment: | 
					
						
							| 
									
										
										
										
											2022-03-14 02:34:01 +00:00
										 |  |  |                 emit<Bytecode::Op::LeaveEnvironment>(Bytecode::Op::EnvironmentMode::Lexical); | 
					
						
							| 
									
										
										
										
											2022-11-13 20:56:53 +01:00
										 |  |  |                 break; | 
					
						
							|  |  |  |             case LeaveVariableEnvironment: | 
					
						
							| 
									
										
										
										
											2022-03-14 02:34:01 +00:00
										 |  |  |                 emit<Bytecode::Op::LeaveEnvironment>(Bytecode::Op::EnvironmentMode::Var); | 
					
						
							| 
									
										
										
										
											2022-11-13 20:56:53 +01:00
										 |  |  |                 break; | 
					
						
							|  |  |  |             case Break: | 
					
						
							|  |  |  |             case Continue: | 
					
						
							|  |  |  |                 break; | 
					
						
							|  |  |  |             case ReturnToFinally: | 
					
						
							|  |  |  |                 return; | 
					
						
							|  |  |  |             }; | 
					
						
							| 
									
										
										
										
											2022-03-13 11:51:02 +03:30
										 |  |  |         } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-25 16:15:34 +01:00
										 |  |  |     void generate_break(); | 
					
						
							|  |  |  |     void generate_break(DeprecatedFlyString const& break_label); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-25 16:35:39 +01:00
										 |  |  |     void generate_continue(); | 
					
						
							|  |  |  |     void generate_continue(DeprecatedFlyString const& continue_label); | 
					
						
							| 
									
										
										
										
											2022-06-11 23:09:37 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-03-13 11:51:02 +03:30
										 |  |  |     void start_boundary(BlockBoundaryType type) { m_boundaries.append(type); } | 
					
						
							|  |  |  |     void end_boundary(BlockBoundaryType type) | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         VERIFY(m_boundaries.last() == type); | 
					
						
							|  |  |  |         m_boundaries.take_last(); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-03 10:46:30 +02:00
										 |  |  | private: | 
					
						
							|  |  |  |     Generator(); | 
					
						
							| 
									
										
										
										
											2022-03-14 10:25:06 -06:00
										 |  |  |     ~Generator() = default; | 
					
						
							| 
									
										
										
										
											2021-06-03 10:46:30 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-09 00:50:42 +02:00
										 |  |  |     void grow(size_t); | 
					
						
							|  |  |  |     void* next_slot(); | 
					
						
							| 
									
										
										
										
											2021-06-03 10:46:30 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-11 23:09:37 +01:00
										 |  |  |     struct LabelableScope { | 
					
						
							|  |  |  |         Label bytecode_target; | 
					
						
							| 
									
										
										
										
											2023-01-08 19:23:00 -05:00
										 |  |  |         Vector<DeprecatedFlyString> language_label_set; | 
					
						
							| 
									
										
										
										
											2022-06-11 23:09:37 +01:00
										 |  |  |     }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  |     BasicBlock* m_current_basic_block { nullptr }; | 
					
						
							| 
									
										
										
										
											2023-03-06 17:16:25 +01:00
										 |  |  |     Vector<NonnullOwnPtr<BasicBlock>> m_root_basic_blocks; | 
					
						
							| 
									
										
										
										
											2021-06-09 10:02:01 +02:00
										 |  |  |     NonnullOwnPtr<StringTable> m_string_table; | 
					
						
							| 
									
										
										
										
											2021-10-24 15:34:30 +02:00
										 |  |  |     NonnullOwnPtr<IdentifierTable> m_identifier_table; | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-10 01:07:53 +02:00
										 |  |  |     u32 m_next_register { 2 }; | 
					
						
							| 
									
										
										
										
											2021-06-09 06:49:58 +04:30
										 |  |  |     u32 m_next_block { 1 }; | 
					
						
							| 
									
										
										
										
											2022-01-15 00:30:02 +01:00
										 |  |  |     FunctionKind m_enclosing_function_kind { FunctionKind::Normal }; | 
					
						
							| 
									
										
										
										
											2022-06-11 23:09:37 +01:00
										 |  |  |     Vector<LabelableScope> m_continuable_scopes; | 
					
						
							|  |  |  |     Vector<LabelableScope> m_breakable_scopes; | 
					
						
							| 
									
										
										
										
											2022-02-12 19:48:45 +03:30
										 |  |  |     Vector<LexicalScope> m_variable_scopes; | 
					
						
							| 
									
										
										
										
											2022-03-13 11:51:02 +03:30
										 |  |  |     Vector<BlockBoundaryType> m_boundaries; | 
					
						
							| 
									
										
										
										
											2023-06-16 10:25:05 +02:00
										 |  |  |     Vector<Register> m_home_objects; | 
					
						
							| 
									
										
										
										
											2021-06-03 10:46:30 +02:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } |