Parse exception table

This commit is contained in:
Sahil Jain
2025-07-15 22:33:30 +05:30
parent a267bfb47f
commit e8e10f1419
5 changed files with 67 additions and 5 deletions

View File

@@ -87,6 +87,10 @@ public:
m_globalsUsed.emplace_back(std::move(varname));
}
typedef std::tuple<int, int, int, int, bool> exception_table_entry_t;
std::vector<exception_table_entry_t> exceptTableEntries() const;
private:
int m_argCount, m_posOnlyArgCount, m_kwOnlyArgCount, m_numLocals;
int m_stackSize, m_flags;