From 3f9c45efd126810cb30986cc4a4f49c2baa62caf Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Tue, 3 Jan 2017 15:40:50 +1100
Subject: [PATCH] py/asmarm: Fix assembler's PASS_EMIT constant name.

---
 py/asmarm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/py/asmarm.c b/py/asmarm.c
index 56e05cf56..da07680e3 100644
--- a/py/asmarm.c
+++ b/py/asmarm.c
@@ -39,7 +39,7 @@
 #define SIGNED_FIT24(x) (((x) & 0xff800000) == 0) || (((x) & 0xff000000) == 0xff000000)
 
 void asm_arm_end_pass(asm_arm_t *as) {
-    if (as->base.pass == ASM_ARM_PASS_EMIT) {
+    if (as->base.pass == MP_ASM_PASS_EMIT) {
 #ifdef __arm__
         // flush I- and D-cache
         asm volatile(
-- 
GitLab