summaryrefslogtreecommitdiff
path: root/tests/micropython/heapalloc.py.exp
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-06-08 22:07:27 +0100
committerDamien George <damien.p.george@gmail.com>2015-06-08 22:07:27 +0100
commit6e56bb623c66007cd3fe6e0a48c3af9f1e0814fc (patch)
treee1cb7924827e19e8c556738b8e9dec84b2ee597a /tests/micropython/heapalloc.py.exp
parent371f4ba6b3166a9616c383c5438dec6556f1089e (diff)
py: Fallback to stack alloca for Python-stack if heap alloc fails.
If heap allocation for the Python-stack of a function fails then we may as well allocate the Python-stack on the C stack. This will allow to run more code without using the heap.
Diffstat (limited to 'tests/micropython/heapalloc.py.exp')
-rw-r--r--tests/micropython/heapalloc.py.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/micropython/heapalloc.py.exp b/tests/micropython/heapalloc.py.exp
index f0487b9f6..c8cffe183 100644
--- a/tests/micropython/heapalloc.py.exp
+++ b/tests/micropython/heapalloc.py.exp
@@ -8,3 +8,4 @@
1
1 2
1 1
+1 2 3 4 10