chakra-core/ChakraCore

don't emit LdNativeCodeData if function doesn't use any

开放

#5,516 创建于 2018年7月24日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (1,225 个派生)batch import
Performancehelp wanted

仓库指标

星标
 (9,258 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Most JS functions will have a bailout or something that uses native code data, but wasm functions never will (or almost never). We should change to only emit this instruction only if we actually need it. It's a bit tricky to track, since most of the uses are introduced during lowerer or later, but it should be doable.

贡献者指南