We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This JS_ReadObject() flag no longer works for bytecode. The IC opcodes introduced in #120 are patched during execution.
JS_ReadObject()
I can see a few solutions:
disable ICs when the bytecode buffer should be considered immutable
make a copy of the bytecode buffer in JS_ReadFunctionBytecode()
JS_ReadFunctionBytecode()
remove the flag
I'm leaning towards option 3 so if anyone is using the flag, now would be a good time to speak up. :-)
The text was updated successfully, but these errors were encountered:
Agreed with option 3.
Sorry, something went wrong.
Remove broken JS_READ_OBJ_ROM_DATA flag
440aba4
This JS_ReadObject() flag no longer works for bytecode. The IC opcodes are patched during execution. Fixes: quickjs-ng#206 Refs: quickjs-ng#120
Remove broken JS_READ_OBJ_ROM_DATA flag (#216)
ba8b80f
This JS_ReadObject() flag no longer works for bytecode. The IC opcodes are patched during execution. Fixes: #206 Refs: #120
Successfully merging a pull request may close this issue.
This
JS_ReadObject()
flag no longer works for bytecode. The IC opcodes introduced in #120 are patched during execution.I can see a few solutions:
disable ICs when the bytecode buffer should be considered immutable
make a copy of the bytecode buffer in
JS_ReadFunctionBytecode()
remove the flag
I'm leaning towards option 3 so if anyone is using the flag, now would be a good time to speak up. :-)
The text was updated successfully, but these errors were encountered: