Systems and methods providing lightweight runtime code generation
First Claim
1. A runtime code generator for a managed object environment, comprising:
- a class allocator that reserves one or more method slots for a dynamic method call; and
a dynamic method builder that employs the method slots to generate an intermediate language stream and return at least one pointer to facilitate execution of the dynamic method call at runtime.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention relates to systems and methods that facilitate dynamic programming language execution in a managed code environment. A runtime code generator is provided within the framework of a managed object environment. The code generator includes a class allocator that reserves one or more method slots for a dynamic method call. A dynamic method builder then employs the method slots to generate an intermediate language stream that forms a method description. The method description is then fed to a Just-In-Tine (JIT) compiler that returns at least one dynamically generated pointer to facilitate execution of the dynamic method call at runtime.
80 Citations
30 Claims
-
1. A runtime code generator for a managed object environment, comprising:
-
a class allocator that reserves one or more method slots for a dynamic method call; and
a dynamic method builder that employs the method slots to generate an intermediate language stream and return at least one pointer to facilitate execution of the dynamic method call at runtime. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A system that facilitates dynamic code execution, comprising:
-
means for allocating a method table having one or more slots for storing prospective function pointers;
means for generating a method description in accordance with the method table; and
means for generating at least one resolved function pointer from the method description.
-
-
20. A method that facilitates dynamic data type processing, comprising:
-
constructing a user model to interact with a compiler;
reserving memory locations in accordance with the user model;
calling a dynamic function via the user model; and
automatically generating a function pointer for the dynamic function. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27)
-
-
28. A computer readable medium having a data structure stored thereon, comprising:
-
a first data field to reserve a function pointer slot;
a second data field to provide a method description for the function pointer slot; and
a third data field to communicate with a compiler in order to receive a pointer value with respect to the function pointer slot. - View Dependent Claims (29, 30)
-
Specification