| 741 | } |
| 742 | |
| 743 | void CompilerUtils::pushCombinedFunctionEntryLabel(Declaration const& _function, bool _runtimeOnly) |
| 744 | { |
| 745 | m_context << m_context.functionEntryLabel(_function).pushTag(); |
| 746 | // If there is a runtime context, we have to merge both labels into the same |
| 747 | // stack slot in case we store it in storage. |
| 748 | if (CompilerContext* rtc = m_context.runtimeContext()) |
| 749 | { |
| 750 | leftShiftNumberOnStack(32); |
| 751 | if (_runtimeOnly) |
| 752 | m_context << |
| 753 | rtc->functionEntryLabel(_function).toSubAssemblyTag(m_context.runtimeSub()) << |
| 754 | Instruction::OR; |
| 755 | } |
| 756 | } |
| 757 | |
| 758 | void CompilerUtils::convertType( |
| 759 | Type const& _typeOnStack, |
no test coverage detected