Skip to content

Conversation

@akashadsare
Copy link

Cleaned up massive amounts of commented-out and unused code from before the typed system was implemented. Removed:

Hundreds of lines of commented-out code in VMCore.cpp Parse() method

All old instruction implementations using uint32_t* params signature

Unused syscalls and old Value system methods

Commented-out template code in BaseValue.h/cpp

Unused stack/variable management methods

Dead code in FBinary.cpp and InstructionSet.h

Unused includes and excessive blank lines

Files Changed:

FriedVM/VMCore.cpp - Major cleanup, removed ~1000+ lines

FriedVM/VMCore.h - Removed unused method declarations

FriedVM/Types/BaseValue.h - Removed commented template code

FriedVM/Types/BaseValue.cpp - Removed commented implementations

FriedVM/FBinary.cpp - Removed commented methods

FriedVM/InstructionSet.h - Removed commented definitions

Impact:

Significantly improved code readability

Reduced maintenance burden

Cleaner architecture focused on current typed system

No functional changes to runtime behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant