Commit missing parts of 78fa5be.

This commit is contained in:
whitequark 2016-03-18 02:15:36 +00:00
parent 78fa5becea
commit 9492464ed9
1 changed files with 2 additions and 1 deletions

View File

@ -754,7 +754,8 @@ class Stitcher:
notes=[note])
self.engine.process(diag)
if self.dmgr.get(function.artiq_embedded.core_name) != self.core:
core_name = function.artiq_embedded.core_name
if core_name is not None and self.dmgr.get(core_name) != self.core:
note = diagnostic.Diagnostic("note",
"called from this function", {},
loc)