[Rewrite] Removed unused conditional.
This commit is contained in:
parent
3a94d8147f
commit
bb01f35de9
1 changed files with 1 additions and 3 deletions
|
@ -814,9 +814,7 @@ namespace OpenTK.Rewrite
|
|||
{
|
||||
// 2d-3d array, address must be taken as follows:
|
||||
// call instance T& T[0..., 0..., 0...]::Address(int, int, int)
|
||||
ByReferenceType t_ref = array.IsGenericParameter ?
|
||||
array.ElementType.MakeByReferenceType() :
|
||||
array.ElementType.MakeByReferenceType();
|
||||
ByReferenceType t_ref = array.ElementType.MakeByReferenceType();
|
||||
MethodReference get_address = new MethodReference("Address", t_ref, array);
|
||||
for (int r = 0; r < array.Rank; r++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue