Program conversion device
OwnerMasatsugu Daimon, Naoko Nakahara +2inventors
InventorsMasatsugu Daimon, Naoko Nakahara, Toshiyuki Sakata, Teruo Kawabata
Life of this patent
Estimating the term…
Abstract
An analysis section analyzes the live range of a first variable shared among subroutines and the live range of a second variable used only in a subroutine. The allocation section allocates the second variable in an allocation memory for the first variable if the live ranges of the first and second variables do not overlap each other.
Claims14
A program conversion device comprising:
- an analysis section for analyzing a live range of a first variable shared among subroutines and a live range of a second variable used only in a subroutine;
- and
- an allocation section for allocating the second variable in an allocation memory for the first variable if the live ranges of the first and second variables do not overlap each other.
A debug device comprising:
- a first memory area, prepared separately from a normal variable data holding area, for storing therein the value of an actual argument;
- an argument value saving section for copying the value of an actual argument to the first memory area every time a function call is executed;
- and
- a debug execution section that refers to the first memory area when required to refer to the value of an actual argument.
A program conversion method comprising the steps of:
- (a) analyzing a live range of a first variable shared among subroutines;
- (b) analyzing a live range of a second variable used only in a subroutine;
- and
- (c) allocating the second variable in an allocation memory for the first variable if the live ranges of the first and second variables do not overlap.
A program for allowing a computer to execute the steps of:
- (a) analyzing a live range of a first variable shared among subroutines;
- (b) analyzing a live range of a second variable used only in a subroutine;
- and
- (c) allocating the second variable in an allocation memory for the first variable if the live ranges of the first and second variables do not overlap.
A recording medium storing therein a program for allowing a computer to execute the steps of:
- (a) analyzing a live range of a first variable shared among subroutines;
- (b) analyzing a live range of a second variable used only in a subroutine;
- and
- (c) allocating the second variable in an allocation memory for the first variable if the live ranges of the first and second variables do not overlap.
A debug method comprising the steps of:
- (a) securing a first memory area, prepared separately from a normal variable data holding area, for storing therein the value of an actual argument;
- (b) copying the value of an actual argument to the first memory area every time a function call is executed during execution;
- and
- (c) referring to the first memory area when required to refer to the value of an actual argument.
A program for allowing a computer to execute the steps of:
- (a) securing a first memory area, prepared separately from a normal variable data holding area, for storing therein the value of an actual argument;
- (b) copying the value of an actual argument to the first memory area every time a function call is executed during execution;
- and
- (c) referring to the first memory area when required to refer to the value of an actual argument.
A recording medium storing therein a program for allowing a computer to execute the steps of:
- (a) securing a first memory area, prepared separately from a normal variable data holding area, for storing therein the value of an actual argument;
- (b) copying the value of an actual argument to the first memory area every time a function call is executed during execution;
- and
- (c) referring to the first memory area when required to refer to the value of an actual argument.
A program development system comprising:
- a program conversion device including:
- an analysis section for analyzing a live range of a first variable shared among subroutines and a live range of a second variable used only in a subroutine;
- and an allocation section for allocating the second variable in an allocation memory for the first variable if the live ranges of the first and second variables do not overlap;
- and
- a debug device for securing a first memory area, prepared separately from a normal variable data holding area, for storing therein the value of an actual argument, copying the value of an actual argument to the first memory area every time a function call is executed;
- and referring to the first memory area when required to refer to the value of an actual argument.
Dependencies are inferred from the claim text.