×

Linking of virtual methods

  • US 20040143827A1
  • Filed: 01/16/2003
  • Published: 07/22/2004
  • Est. Priority Date: 01/16/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method for linking a virtual method, the method comprising:

  • receiving a program comprising a plurality of program units;

    enumerating classes of said program;

    determining whether a virtual method of said program has been overridden at least once;

    creating a virtual method jump table indexed by a type indicator if said virtual method has been overridden, said table comprising at least one entry comprising an address of a virtual method; and

    rewriting a first at least one call instruction that calls said virtual method to include the type indicator of a called object.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×