Re: [v8-users] A list of optcodes for each bytecode

2020-08-17 Thread Jakob Kummerow
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

[v8-users] A list of optcodes for each bytecode

2020-08-17 Thread TL
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 bytec