Patent ID: 7181735
Filing Date: 2007-02-20
Classification: G06F

Abstract:
1. A method of facilitating optimization processing in a compiler, comprising the steps of: (a) storing, in a language-specific-rule table, assignment rules which are specified for at least two programming languages allowing vector representation of each of said programming languages; (b) analyzing a program code which includes one or more instructions, and is described in a selected one of said programming languages, based on said assignment rules, to obtain an analysis result; (c) embedding said analysis result in said program code; and (d) optimizing said program code, wherein in said step (a), said assignment rules are stored in said language-specific-rule table as one or more language-specific-information analyzing functions, and said step (b) comprises the substeps of, (e) reading out, from said language-specific-rule table, at least one of said one or more language-specific-information analyzing functions which is needed for analyzing said program code, and (f) determining values of variables included in assignment statements extracted from said program code, based on said at least one of said one or more language-specific-information analyzing functions read out in said step (e), and producing said analysis result which includes the determined values of variables; wherein said step (b) further comprises the substep of, (g) said at least one of said one or more language-specific-information analyzing functions read out in said step (e) is registered in a check function table for use in said step (f).