forked from M-Labs/artiq
1
0
Fork 0
artiq/artiq
David Nadlinger ae999db8f6 compiler: Revert function call lifetime tracking fix
This reverts commits f8d1506922
and cf19c9512d.

While the commit just fixes a clear typo in the implementation,
it turns out the original algorithm isn't flexible enough to
capture functions that transitively return references to
long-lived data. For instance, while cache_get() is special-cased
in the compiler to be recognised as returning a value of Global()
lifetime, a function just forwarding to it (as seen in the
embedding tests) isn't anymore.

A separate issue is also that this makes implementing functions
that take lists and return references to global data in user code
impossible, which central parts of the Oxford codebase rely on.

Just reverting for now to unblock master; a fix is easily designed,
but needs testing.
2020-07-30 16:40:39 +01:00
..
applets use sipyco (#585) 2019-11-10 15:55:17 +08:00
browser use sipyco (#585) 2019-11-10 15:55:17 +08:00
compiler compiler: Revert function call lifetime tracking fix 2020-07-30 16:40:39 +01:00
coredevice comm_analyzer: make header error flag more general 2020-07-20 19:39:19 +08:00
dashboard dashboard: style 2020-06-26 10:12:03 +08:00
examples examples/sines_urukul_sayma: adapt for sayma v2, use 1 DAC only 2020-04-05 16:51:40 +08:00
firmware firmware/rpc: fixed typo 2020-07-16 15:15:47 +08:00
frontend gui: work around quamash bug with python 3.8 2020-07-28 12:08:47 +08:00
gateware wrpll: fix run signal 2020-07-27 13:02:02 +08:00
gui dashboard: Add "Quick Open" dialog for experiments on global shortcut 2020-06-26 10:11:33 +08:00
language parameters: Allow forcing a NumberValue to return a float 2020-07-27 12:25:51 +08:00
master master/scheduler: Fix priority/due date precedence order when waiting to prepare 2020-06-19 23:45:52 +01:00
sim ttl: Add target RTIO time argument to timestamp/count functions 2018-11-03 20:33:19 +08:00
test compiler: Revert function call lifetime tracking fix 2020-07-30 16:40:39 +01:00
wavesynth wavesynth: silence is a channel property (closes #348) 2016-04-07 21:51:29 +08:00
__init__.py simplify versioneer 2020-07-30 00:54:07 +08:00
_version.py simplify versioneer 2020-07-30 00:54:07 +08:00
appdirs.py add appdirs 2016-07-18 16:40:18 +02:00
build_soc.py soc: optimize programmable identifier 2020-03-12 23:09:13 +08:00
experiment.py artiq.experiment: merge language and coredevice namespaces 2016-01-25 17:24:00 -07:00
remoting.py artiq_flash: added option of specifying another username when connecting through SSH. (#1429) 2020-02-19 19:44:11 +08:00
tools.py split out artiq-comtools 2019-11-14 15:21:51 +08:00