Skip to content

Commit

Permalink
Remove bytecode duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
GorogPeter authored and ksh8281 committed Mar 13, 2024
1 parent babcb99 commit a22a568
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/parser/WASMParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1429,10 +1429,6 @@ class WASMBinaryReader : public wabt::WASMBinaryReaderDelegate {
void keepBlockResultsIfNeeds(BlockInfo& blockInfo, const std::pair<size_t, size_t>& dropSize)
{
if (blockInfo.m_shouldRestoreVMStackAtEnd) {
if (dropSize.second) {
generateMoveValuesCodeRegardToDrop(dropSize);
}

if (!blockInfo.m_byteCodeGenerationStopped) {
if (blockInfo.m_returnValueType.IsIndex()) {
auto ft = m_result.m_functionTypes[blockInfo.m_returnValueType];
Expand Down

0 comments on commit a22a568

Please sign in to comment.