Code generation method and device
Patent Information
- Application Number
- CN202410558109.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-25
- Publication Date
- 2024-08-20
AI Technical Summary
In the existing technology, when JavaScript code is converted, other programming languages such as C language, C++ language, etc. are converted into JavaScript code, resulting in poor performance of the compiled project and placing high requirements on technical personnel's code conversion capabilities.
By obtaining the intermediate code to be language converted, detect and mark the call points of safe point calls and exception handling, and generate the marked intermediate code to facilitate subsequent adaptive processing and improve compatibility with target objects (such as V8 engine).
It improves the overall performance of the compilation project, reduces the code conversion ability requirements of technical personnel, and makes the generated target code better compatible with the target object.
Smart Images

Figure CN118519638A_ABST
