Claims
- 1. A function execution method comprising steps of: stacking, in a stack area of a memory, a function record area according to a format of an invoked function which is invoked by executing an invoking function including a process to invoke another function; invoking the invoked function utilizing the stacked function record area; executing the invoked function which has been invoked; and then discarding the stacked function record area,
characterized in that
an execution format of a first invoking function, which is obtained by compiling source-codes, to be executed in the function record area is analyzed and a second invoking function, which is different from the first invoking function and includes a process of utilizing the function record area to execute the invoking function as an area to invoke the invoked function, is executed as an alternative function to the first invoking function when it is judged from the analysis that execution results of an invoked function to be invoked by the first invoking function become execution results of the invoking function.
- 2. A function execution apparatus, which stacks, in a stack area of a memory, a function record area according to a format of an invoked function which is invoked by executing an invoking function including a process to invoke another function, invokes the invoked function utilizing the stacked function record area, executes the invoked function which has been invoked and then discards the stacked function record area, comprising:
means for analyzing an execution format of a first invoking function, which is obtained by compiling source-codes, to be executed in the function record area; and means for executing a second invoking function, which is different from the first invoking function and includes a process of utilizing the function record area to execute the invoking function as an area to invoke the invoked function, as an alternative function to the first invoking function when it is judged from the analysis that execution results of an invoked function to be invoked by the first invoking function become execution results of the invoking function.
- 3. A function execution apparatus, which stacks, in a stack area of a memory, a function record area according to a format of an invoked function which is invoked by executing an invoking function including a process to invoke another function, invokes the invoked function utilizing the stacked function record area, executes the invoked function which has been invoked and then discards the stacked function record area, comprising a controller capable of performing operations of:
analyzing an execution format of a first invoking function, which is obtained by compiling source-codes, to be executed in the function record area; and executing a second invoking function, which is different from the first invoking function and includes a process of utilizing the function record area to execute the invoking function as an area to invoke the invoked function, as an alternative function to the first invoking function when it is judged from the analysis that execution results of an invoked function to be invoked by the first invoking function become execution results of the invoking function.
- 4. A recorded medium readable by a computer, in which a computer program that causes a computer to stack, in a stack area of a memory, a function record area according to a format of an invoked function which is invoked by executing an invoking function including a process to invoke another function, to invoke the invoked function utilizing the stacked function record area, to execute the invoked function which has been invoked and then to discard the stacked function record area is recorded,
the computer program comprising:
a procedure for causing the computer to analyze an execution format of a first invoking function, which is obtained by compiling source-codes, to be executed in the function record area; and a procedure for causing the computer to execute a second invoking function, which is different from the first invoking function and includes a process of utilizing the function record area to execute the invoking function as an area to invoke the invoked function, as an alternative function to the first invoking function when it is judged from the analysis that execution results of an invoked function to be invoked by the first invoking function become execution results of the invoking function.
Priority Claims (1)
Number |
Date |
Country |
Kind |
2001-088850 |
Mar 2001 |
JP |
|
Parent Case Info
[0001] The present patent application is a continuation of International Application No. PCT/JP02/02888 filed Mar. 25, 2002. This International Application was not published in English.
Continuations (1)
|
Number |
Date |
Country |
Parent |
PCT/JP02/02888 |
Mar 2002 |
US |
Child |
10628133 |
Jul 2003 |
US |