projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca96277
)
Improve alias analysis for pointer sized variables (mono/mono#16812)
author
Filip Navara
<navara@emclient.com>
Fri, 13 Sep 2019 13:02:50 +0000
(15:02 +0200)
committer
Larry Ewing
<lewing@microsoft.com>
Fri, 13 Sep 2019 13:02:50 +0000
(08:02 -0500)
Commit migrated from https://github.com/mono/mono/commit/
10e72a7ab6237f74d0f4eabbdf6fecda66085e55
src/mono/mono/mini/alias-analysis.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/mini/alias-analysis.c
b/src/mono/mono/mini/alias-analysis.c
index
4f096ed
..
b473fe2
100644
(file)
--- a/
src/mono/mono/mini/alias-analysis.c
+++ b/
src/mono/mono/mini/alias-analysis.c
@@
-22,7
+22,7
@@
static gboolean
is_int_stack_size (int type)
{
#if TARGET_SIZEOF_VOID_P == 4
- return type == STACK_I4 || type == STACK_MP;
+ return type == STACK_I4 || type == STACK_MP
|| type == STACK_PTR
;
#else
return type == STACK_I4;
#endif
@@
-32,7
+32,7
@@
static gboolean
is_long_stack_size (int type)
{
#if TARGET_SIZEOF_VOID_P == 8
- return type == STACK_I8 || type == STACK_MP;
+ return type == STACK_I8 || type == STACK_MP
|| type == STACK_PTR
;
#else
return type == STACK_I8;
#endif