projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1837ef
)
[arm] Implement a dummy version of MONO_CONTEXT_GET_CURRENT () on watchos, only the...
author
Zoltan Varga
<vargaz@gmail.com>
Thu, 12 May 2016 10:15:23 +0000
(06:15 -0400)
committer
Zoltan Varga
<vargaz@gmail.com>
Thu, 12 May 2016 10:15:23 +0000
(06:15 -0400)
mono/utils/mono-context.h
patch
|
blob
|
history
diff --git
a/mono/utils/mono-context.h
b/mono/utils/mono-context.h
index 2893874805ce000b7d1f5c88f0eb56032d9e59b0..2081ee29950fc4bfbc1b89db913fc40e339691cb 100644
(file)
--- a/
mono/utils/mono-context.h
+++ b/
mono/utils/mono-context.h
@@
-253,6
+253,8
@@
typedef struct {
#if defined(HOST_WATCHOS)
#define MONO_CONTEXT_GET_CURRENT(ctx) do { \
+ int _dummy; \
+ ctx.regs [ARMREG_SP] = &_dummy; \
} while (0);
#else