IP Library Patent Application 12105706
Patent Application
App. No. 12/105,706

PROGRAM CONVERSION DEVICE

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
12/105,706
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.

Claims (41)

1 . 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.

2 . The program conversion device of claim 1 , wherein the first variable is an actual argument and the second variable is an automatic variable.

3 . The program conversion device of claim 1 , wherein the first variable is a dummy argument and the second variable is an automatic variable.

4 . The program conversion device of claim 2 , wherein the analysis section analyzes whether or not the values of an actual argument and an automatic variable are equal to each other in their existing segments, and

if they are equal to each other, the allocation section preferentially allocates the automatic variable in an actual argument area.

5 . The program conversion device of claim 1 , wherein the analysis of live ranges and the allocation of memory are performed only when no debug information is generated.

6 . 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.

7 . 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.

8 . 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.

9 . 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.

10 . 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.

11 . 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.

12 . 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.

13 . 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.

14 . The program development system of claim 13 , wherein the program conversion device further includes a debug information generation section for generating debug information to be inputted into the debug device, and

the debug device performs the processing depending on the debug information.

Assignments (2)
CHANGE OF NAME Recorded Nov 21, 2008
From: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
To: PANASONIC CORPORATION
Reel/Frame 021897/0606 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 22, 2008
From: DAIMON, MASATSUGU; NAKAHARA, NAOKO; SAKATA, TOSHIYUKI; KAWABATA, TERUO
To: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Reel/Frame 021273/0886 →