Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
WASM: Add rt_funcs_last to enum RT_FUNCS
Co-authored-by: Ondřej Čertík <[email protected]>
  • Loading branch information
ubaidsk and certik committed Feb 21, 2023
commit 47f01fd1db015b5bf0b64ecf490fc745006f5de9
3 changes: 2 additions & 1 deletion src/libasr/codegen/asr_to_wasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ enum RT_FUNCS {
mul_c64 = 7,
abs_c32 = 9,
abs_c64 = 10,
rt_funcs_last = 11, // keep this as the last enumerator
};
const int NO_OF_RT_FUNCS = 11;
const int NO_OF_RT_FUNCS = rt_funcs_last;

class ASRToWASMVisitor : public ASR::BaseVisitor<ASRToWASMVisitor> {
public:
Expand Down