Constructing runtime state for inlined code
Abstract
Techniques for processing computer code are disclosed. In one example, an indication that a computer code is to begin execution at a portion of code other than a starting portion of the code is received, and a runtime state associated with the portion of the code at which execution is to begin is constructed. In some examples, execution of the portion of code is initiated. In some examples, a program counter associated with the portion of the code is used to initiate execution of the code. In some examples, the computer code comprises a fallback code associated with a previously executing code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: receiving, during execution of a first code, an indication that a roll over from executing the first code to executing a second code is required, wherein the second code acts as a fallback code to the first code, and wherein the fallback code is associated with the first code; determining, prior to execution of the second code, that the second code is to begin execution at a portion of the second code other than a starting portion of the second code; constructing a runtime state for the second code, including constructing at least a portion of a function stack that includ
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (4)
- Ben Asher et al., "The Effect of Unrolling and Inlining for Python Bytecode Optimizations," May 2009.
- Gal et al., "Trace-based Just-in-Time Type Specialization for Dynamic Languages," Jun. 2009, ACM.
- Office Action, U.S. Appl. No. 12/847,925 dated Jan. 29, 2013.
- Stepanian et al., "Inlining Java Native Calls At Runtime," Jun. 2005, ACM, pg. 121-131.