WebAssembly / WebAssembly/binaryen

Make readMemoryAccess() return value more explicit

Open
#4,924 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
8.6k
Forks
885
Avg merge
1d 19h
Merged PRs (30d)
69

Description

Does this return the memory index, or something else? Worth a comment here I think.

Originally posted by @kripken in https://github.com/WebAssembly/binaryen/pull/4811#discussion_r933621856

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the readMemoryAccess() entry point and inspect what its return value represents. Add a comment that explicitly describes whether it returns a memory index or another value; the issue names no test or specific file, so verify the surrounding compiler code manually.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
compilers
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.