Skip to content

Commit

Permalink
#66 drop size from cast opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
0xF6 committed Dec 31, 2021
1 parent 7956bed commit 2cea5f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions metadata/opcodes.list.def.cs
Original file line number Diff line number Diff line change
Expand Up @@ -646,11 +646,11 @@ public static class OpCodes
public static readonly OpCode NEWOBJ = new (0x52, 0x0100001F);
/// <summary>
/// Cast T1 to T2
/// size: 8
/// size: 0
/// flow: 0
/// chain: 0
/// </summary>
public static readonly OpCode CAST = new (0x71, 0x0200001F);
public static readonly OpCode CAST = new (0x71, 0x0000001F);
/// <summary>
/// Allocate array onto evaluation stack by specified size and type.
/// size: 0
Expand Down
1 change: 0 additions & 1 deletion metadata/opcodes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@
override-size: 4
- CAST:
description: Cast T1 to T2
override-size: 8
- NEWARR:
description: Allocate array onto evaluation stack by specified size and type.
- LDLEN:
Expand Down

0 comments on commit 2cea5f0

Please sign in to comment.