Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Math.random(); Porffor.randomByte();" fails #187

Open
Rob23oba opened this issue Aug 15, 2024 · 1 comment · May be fixed by #188
Open

"Math.random(); Porffor.randomByte();" fails #187

Rob23oba opened this issue Aug 15, 2024 · 1 comment · May be fixed by #188

Comments

@Rob23oba
Copy link

Rob23oba commented Aug 15, 2024

If you try to run porf -e "Math.random(); Porffor.randomByte();", you get the error message:
CompileError: WebAssembly.Module(): Compiling function #1 failed: Invalid global index: 2 @+86

@Rob23oba
Copy link
Author

Also, porf -e "console.count" (or countReset / time / timeLog / timeEnd) crashes with TypeError: Cannot read properties of undefined (reading 'ind') in assemble.js where it generates the data section

@Rob23oba Rob23oba linked a pull request Aug 15, 2024 that will close this issue
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 a pull request may close this issue.

1 participant