Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
table: replaced encode function pointer use with virtual function
removed encode function pointer member and its access function - changed constructor encode argument to dummy (no change table entries) added operand type member with access function - updated is code with operand to use this member - removed operand table flag - added new constructor with operand type argument updated codes with operands table entries - removed operand flag and encode function pointer, added operand type removed encode function alias and all encode functions added virtual encode function - checks if code has operand before adding to dictionary to get operand - will become virtual encode function for code with operand class - empty virtual encode will be be default table virtual encode function added program model dictionary access function - contains operand type argument for accessing dictionary pointer array
- Loading branch information
1 parent
61d8272
commit f549771
Showing
5 changed files
with
67 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters