How to run raw bytecode?

32 views
Skip to first unread message

anastasia...@gmail.com

unread,
May 7, 2019, 2:48:00 PM5/7/19
to v8-dev
Hello, I want to run precompiled bytecode in v8. How can I do it?

Ross McIlroy

unread,
May 8, 2019, 6:17:51 AM5/8/19
to v8-dev
Hi,

You'd need to do something similar to what we use in test-interpreter.cc, using a BytecodeArrayBuilder to build the raw bytecode you want to run and then InterpreterTester to execute it in isolation.

Cheers,
Ross



--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/844741ab-b235-47b2-a98e-f90fbfbc9682%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages