摘要 |
In one embodiment, a trace optimizing engine may create an optimized trace of an operation segment of a software program. A memory 130 may store a trace of an operation segment and an inherited stack frame from the operation segment. An optimizing trace compiler 418 may resolve a local pointer of the operation segment to a memory object and insert a guard 640 in the trace that invalidates the trace if the local pointer does not resolve to the memory object. A just in time compiler 410 may receive in the trace a stack pointer 744 to the inherited stack frame, move the stack pointer 744 to create a storage space 746, and store an intermediate value for a local variable in a temporary variable 748 in the storage space 746. |