METHOD AND APPARATUS FOR BUILDING CALLING CONVENTION PROLOG AND EPILOG CODE USING A REGISTER ALLOCATOR

Patent №

US 6,408,433

Granted

2002-06-18

Filed 1999

Owner

SUN MICROSYSTEMS, INC

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

09298411

Methods and apparatus for enabling a register allocator to build a calling convention are disclosed. According to one aspect of the present invention, a computer-implemented method for generating code associated with a calling convention includes obtaining compilable source code, and identifying at least one argument associated with the calling convention. The location of the argument with respect to memory space is described by a register mask. The method also includes performing a register allocation using a register allocator that is arranged to allocate registers. During the register allocation, code associated with the calling convention is produced automatically by the spill-code mechanism in the allocator without requiring the use of a specialized prolog or epilog code generator.

AI hardwareG06F 8/441G06F 8/447

AI classification

AI hardware0.98
Natural language0.03
Vision0.02
Evolutionary computation0.00
Knowledge representation0.00
Planning0.00
Machine learning0.00
Speech0.00

Ownership

SUN MICROSYSTEMS, INC

assignment · 99050243

© 2026 NYSGPT2525 LLC