Title:
COMPILING METHOD, COMPILER, AND WASM VIRTUAL MACHINE
Document Type and Number:
WIPO Patent Application WO/2024/045379
Kind Code:
A1
Abstract:
A method for compiling a reflection function-involving code, and a compiler and a Wasm virtual machine. The compiling method comprises: the compiler starts to scan a reflection function-involving code from a program entry of the code, and obtains, by means of annotation, a class used in the reflection function-involving code and a function used by the class; the compiler adds, to a list to be compiled, a code, involving the used class among classes on which the reflection function-involving code depends, and the function used by said class which are obtained by means of annotation; and the compiler compiles said list to obtain a Wasm byte code. The method can be applied to a blockchain.
More Like This:
Inventors:
ZHOU WEI (CN)
CAO RONG (CN)
CAO RONG (CN)
Application Number:
PCT/CN2022/135270
Publication Date:
March 07, 2024
Filing Date:
November 30, 2022
Export Citation:
Assignee:
ANT BLOCKCHAIN TECH SHANGHAI CO LTD (CN)
International Classes:
G06F8/41; G06F8/73; G06F9/455
Foreign References:
CN112346778A | 2021-02-09 | |||
CN109597621A | 2019-04-09 | |||
CN113867704A | 2021-12-31 | |||
CN114064042A | 2022-02-18 | |||
CN114416103A | 2022-04-29 | |||
US20130311980A1 | 2013-11-21 |
Attorney, Agent or Firm:
BEIJING BESTIPR INTELLECTUAL PROPERTY LAW CORPORATION (CN)
Download PDF: