chakra-core/ChakraCore

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

オープン

#5,516 opened on 2018/07/24

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (1,225 件のフォーク)batch import
Performancehelp wanted

Repository metrics

Stars
 (9,258 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド