1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00

Don't remember types for spans if no debug info is requested.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5254 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2011-08-21 19:46:47 +00:00
parent 913db79017
commit cc486bb4f5

View File

@ -205,7 +205,10 @@ static Span* MergeSpan (Span* S)
void SetSpanType (Span* S, const StrBuf* Type) void SetSpanType (Span* S, const StrBuf* Type)
/* Set the generic type of the span to Type */ /* Set the generic type of the span to Type */
{ {
/* Ignore the call if we won't generate debug infos */
if (DbgSyms) {
S->Type = GetStrBufId (Type); S->Type = GetStrBufId (Type);
}
} }