MCPcopy Index your code
hub / github.com/python/cpython / initOpcodeMapping

Function initOpcodeMapping

Lib/profiling/sampling/_flamegraph_assets/flamegraph.js:18–23  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

16
17// Initialize opcode mappings from embedded data
18function initOpcodeMapping(data) {
19 if (data && data.opcode_mapping) {
20 OPCODE_NAMES = data.opcode_mapping.names || {};
21 DEOPT_MAP = data.opcode_mapping.deopt || {};
22 }
23}
24
25// Get opcode info from opcode number
26function getOpcodeInfo(opcode) {

Callers 1

initFlamegraphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…