diff options
| author | gingerBill <bill@gingerbill.org> | 2017-10-29 15:46:23 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-10-29 15:46:23 +0000 |
| commit | 1eb9994d88b874b2f4ac3fdc4d314b1e67fa511b (patch) | |
| tree | 5dd176e7f4e8677ea935762e7044a4d6e3265520 /src/ssa.cpp | |
| parent | a43b89f36e988df8268ee92ea54017806b3226bb (diff) | |
Attributes; @(link_name="foo")
Diffstat (limited to 'src/ssa.cpp')
| -rw-r--r-- | src/ssa.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ssa.cpp b/src/ssa.cpp index fa83cecb8..3a5e283e2 100644 --- a/src/ssa.cpp +++ b/src/ssa.cpp @@ -2490,8 +2490,8 @@ bool ssa_generate(Parser *parser, CheckerInfo *info) { if (e->Procedure.is_foreign) { name = e->token.string; // NOTE(bill): Don't use the mangled name } - if (pl->link_name.len > 0) { - name = pl->link_name; + if (e->Procedure.link_name.len > 0) { + name = e->Procedure.link_name; } if (e == entry_point) { |