Skip to content

Commit

Permalink
Deprecate child types array in Tree.cpp in favor expectedChildType API
Browse files Browse the repository at this point in the history
We already have an API `expectedChildType` which extracts the expected
child type from the Opcodes.enum metadata array. Rather than using a
manually maintained and error prone table, we simply extract the child
type from one source of truth metadata table.

This eliminates the need to maintain yet another table manually when
dealing with updating/adding/removing opcodes.

Signed-off-by: Filip Jeremic <fjeremic@ca.ibm.com>
  • Loading branch information
fjeremic committed Nov 11, 2020
1 parent 93bc6ad commit 3cf1194
Showing 1 changed file with 3 additions and 1,199 deletions.

0 comments on commit 3cf1194

Please sign in to comment.