bytecodes.h is the right place; the list of bytecodes is generated by the
following macro:

// Enumeration of interpreter bytecodes.
enum class Bytecode : uint8_t {
#define DECLARE_BYTECODE(Name, ...) k##Name,
  BYTECODE_LIST(DECLARE_BYTECODE)
#undef DECLARE_BYTECODE


On Mon, Aug 17, 2020 at 5:03 PM TL <heuichan....@gmail.com> wrote:

> Hi everyone,
>
> I hope all our group members are safe and healthy.
>
> I'm doing a research on JS engines and I would like to into v8 as it is
> the engine for the largest web browser in the market.
>
> As a beginning, I would like to understand the bytecode of it, and I want
> is the opcodes for every bytecode. For example, opcode for Mov is 27 and
> opcode for LdaConstant is 12, etc.
>
> I was searching through the source code especially the interpreter files,
> such as bytecodes.h, to see whether such information is available, but I
> can find the list of bytecodes, but not the corresponding opcodes.
>
> Is there any where that I can retrieve this data? The opcodes.
>
> If anyone can direct me to the place, that would be very much appreciated.
>
> Thank you and I hope you all for the well-being.
>
> Thank you.
>
> --
> --
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/CAKSzg3TffmFCefb1bhtJD4ErXq15VujQjUkxgMfqLskQ%2BhAZXQ%40mail.gmail.com.

Reply via email to