Skip to content

Commit

Permalink
Fix a wrong assertion in tail call without parameters
Browse files Browse the repository at this point in the history
Signed-off-by: HyukWoo Park <[email protected]>
  • Loading branch information
clover2123 authored and ksh8281 committed Dec 6, 2023
1 parent 799bc4f commit 8aa918e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime/ExecutionState.h
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class ExecutionState : public gc {
{
// allocate a new argument buffer
// because tail call reuses this buffer which can modify caller's register file
ASSERT(!m_initTCO && !!argv);
ASSERT(!m_initTCO);
m_argv = argv;
m_initTCO = true; // initialize of TCO done
}
Expand Down
2 changes: 1 addition & 1 deletion test/vendortest

0 comments on commit 8aa918e

Please sign in to comment.