Hi, You'd need to do something similar to what we use in test-interpreter.cc <https://cs.chromium.org/chromium/src/v8/test/cctest/interpreter/test-interpreter.cc?q=test-interpreter&sq=package:chromium&g=0&l=1132>, using a BytecodeArrayBuilder to build the raw bytecode you want to run and then InterpreterTester to execute it in isolation.
Cheers, Ross *From: *<[email protected]> *Date: *Tue, 7 May 2019 at 19:48 *To: *v8-dev Hello, I want to run precompiled bytecode in v8. How can I do it? > > -- > -- > v8-dev mailing list > [email protected] > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-dev/844741ab-b235-47b2-a98e-f90fbfbc9682%40googlegroups.com > <https://groups.google.com/d/msgid/v8-dev/844741ab-b235-47b2-a98e-f90fbfbc9682%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- -- v8-dev mailing list [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAP-rjT7-%3DBGpYF%3DXhCt-QZFCDcsCKdneOk3B1r76gcXXUPi9Mg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
