Skip to content

Commit

Permalink
Improve alias analysis for pointer sized variables (mono/mono#16812)
Browse files Browse the repository at this point in the history
Commit migrated from mono/mono@10e72a7
  • Loading branch information
filipnavara authored and lewing committed Sep 13, 2019
1 parent ca96277 commit 885b1f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mono/mono/mini/alias-analysis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 885b1f2

Please sign in to comment.