Back to results
US 12,367,020 B2Granted
Domain specific inlining for interpreters
AssigneeOracle International Corporation
InventorsChristian Humer, Daniele Bonetta
Life of this patent
Estimating the term…
Abstract
Domain specific inlining for interpreters includes obtaining an interpreter source code including compiler directives. A host compilation is performed on the interpreter source code to obtain a compiled interpreter. Performing host compilation includes inlining code blocks based on the plurality of compiler directives. The compiled interpreter is outputted.
Claims18
A method comprising:
- obtaining an interpreter source code comprising a plurality of compiler directives;
- performing a host compilation on the interpreter source code to obtain a compiled interpreter, wherein performing host compilation comprises inlining code blocks based on the plurality of compiler directives, wherein performing the host compilation comprises:
- initiating compiling the interpreter source code;
- and
- inlining, during compiling the interpreter source code, an interpreter code block according to a compiler inlining policy based on a lack of a compiler exclude directive;
- and
- outputting the compiled interpreter.
4 more elements
A method comprising:
- obtaining an interpreter source code comprising a plurality of compiler directives;
- performing a host compilation on the interpreter source code to obtain a compiled interpreter, wherein performing host compilation comprises inlining code blocks based on the plurality of compiler directives, wherein performing the host compilation comprises:
- initiating compiling the interpreter source code;
- encountering a compiler exclude directive of the plurality of compiler directives when compiling the interpreter source code;
- and
- omitting, during compiling the interpreter source code, inlining of an interpreter code block referenced by the compiler exclude directive based on the compiler exclude directive;
- and
- outputting the compiled interpreter.
5 more elements
A system comprising:
- memory;
- a computer processor executing a compiler to perform operations comprising:
- obtaining an interpreter source code comprising a plurality of compiler directives;
- performing a host compilation on the interpreter source code to obtain a compiled interpreter, wherein performing host compilation comprises inlining code blocks based on the plurality of compiler directives, wherein performing the host compilation comprises:
- initiating compiling the interpreter source code;
- and
- inlining, during compiling the interpreter source code, an interpreter code block according to a compiler inlining policy based on a lack of a compiler exclude directive;
- and
- outputting the compiled interpreter.
6 more elements
A non-transitory computer readable storage medium comprising computer readable program code for causing a computer system to perform operations comprising:
- obtaining an interpreter source code comprising a plurality of compiler directives;
- performing a host compilation on the interpreter source code to obtain a compiled interpreter, wherein performing host compilation comprises inlining code blocks based on the plurality of compiler directives, wherein performing the host compilation comprises:
- initiating compiling the interpreter source code;
- and
- inlining, during compiling the interpreter source code, an interpreter code block according to a compiler inlining policy based on a lack of a compiler exclude directive;
- and
- outputting the compiled interpreter.
4 more elements
Dependencies are inferred from the claim text.