Do not set source locations for small internal assembly routines.

This commit is contained in:
chriseth
2020-05-27 18:26:46 +02:00
parent a06ac0f39f
commit eb923af09c
10 changed files with 46 additions and 65 deletions
+1
View File
@@ -97,6 +97,7 @@ public:
/// Changes the source location used for each appended item.
void setSourceLocation(langutil::SourceLocation const& _location) { m_currentSourceLocation = _location; }
langutil::SourceLocation const& currentSourceLocation() const { return m_currentSourceLocation; }
/// Assembles the assembly into bytecode. The assembly should not be modified after this call, since the assembled version is cached.
LinkerObject const& assemble() const;