Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/cpp/preprocessor/asm/asm_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,13 @@ class asm_parser: public std::enable_shared_from_this<asm_parser>
void parse_lines(const std::vector<char>& data, std::string& file);

std::vector<char> get_asm_data(const std::string& name);
void set_current_col(int col) { m_current_col = col;
m_col[m_current_col] = col_data();
// Switch active column for subsequent opcodes. Do not replace existing col_data:
// the same column may be selected again after .include; wiping
// would drop earlier subgraphs' asm for that column.
void set_current_col(int col) {
m_current_col = col;
if (m_col.find(col) == m_col.end())
m_col[col] = col_data();
}

std::map<std::string, uint32_t>& getcollabelpageindex(int col) { return m_col[col].get_labelpageindex(); }
Expand Down
Loading