Skip to content

Commit

Permalink
Commit missing parts of 78fa5be.
Browse files Browse the repository at this point in the history
whitequark committed Mar 18, 2016
1 parent 78fa5be commit 9492464
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion artiq/compiler/embedding.py
Original file line number Diff line number Diff line change
@@ -754,7 +754,8 @@ def _quote_function(self, function, loc):
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)

0 comments on commit 9492464

Please sign in to comment.