From 3c658a4e755a75e495303957208486e583ddb270 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 24 Aug 2014 16:28:17 +0100 Subject: py: Fix bug where GC collected native/viper/asm function data. Because (for Thumb) a function pointer has the LSB set, pointers to dynamic functions in RAM (eg native, viper or asm functions) were not being traced by the GC. This patch is a comprehensive fix for this. Addresses issue #820. --- tests/micropython/native.py.exp | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/micropython/native.py.exp (limited to 'tests/micropython/native.py.exp') diff --git a/tests/micropython/native.py.exp b/tests/micropython/native.py.exp new file mode 100644 index 000000000..e1413fd79 --- /dev/null +++ b/tests/micropython/native.py.exp @@ -0,0 +1,2 @@ +1 [] 2 +1 [] 3 -- cgit v1.2.3