One-pass compilation of virtual instructions
Abstract
In embodiments, prior to compilation into machine code, a preprocessor generates directives by processing a source code and/or bytecode representation of a program and/or selecting default directives. The preprocessor embeds the directives in a bytecode representation of the program or a separate stream associated with the bytecode representation of the program. A just-in-time compiler may compile the bytecode representation into machine code directed by the embedded directives in one pass and/or a bytecode interpreter may interpret the bytecode representation of the program. In some embodiments, a computing device generates bytecodes during execution of a program, selects default directives, and embeds the default directives in the bytecodes or a separate stream associated with the bytecodes prior to compilation of the bytecodes into machine code. Subsequently, the bytecodes may be compiled into machine code with a just-in-time compiler directed by the embedded default directives in one pass and/or interpreted with an interpreter.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 9.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: prior to compilation of a program into machine code, generating directives about the program, the directives for directing compilation of the program into machine code by a just-in-time compiler; embedding the directives into a bytecode representation of the program, stored in a machine-readable medium, wherein at least a portion of the bytecode representation can be one-pass compiled into machine code by the just-in-time compiler directed by the embedded directives and compiling the at least a portion of the bytecode representation into machine code
- Claim 2Depends on #1
The computer-implemented method of claim 1 , wherein said compiling the at least a portion of the bytecode representation into machine code in one-pass
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (4)
- Author Unknown, EFI Fat Binaries, http://refit.sourceforge.net/info/fat-binary.html, date unknown, 2 pages.
- Bornstein, Davlik Virtual Machine, date unknown, 7 pages.
- Rose, with Android and Dalvik at Google I/O, May 31, 2008, 6 pages.
- Staff of Berkley Design Technology, Inc., MIPS Technologies MIPS32® 74KTM Licensable Processor Core, 2007, 6 pages.