Optimizing Ada on the fly

  • Authors:
  • Sheri J. Bernstein;Robert S. Duff

  • Affiliations:
  • AverStar, Inc., 23 Fourth Ave., Burlington, Mass.;AverStar, Inc., 23 Fourth Ave., Burlington, Mass.

  • Venue:
  • Proceedings of the 1999 annual ACM SIGAda international conference on Ada
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

One of the features that makes Ada such a reliable programming language is its use of run-time constraint checks. However, such checks slow program execution and increase program size.The AdaMagic™ compiler uses one-pass, on-the-fly flow analysis during intermediate-language generation specifically to eliminate unnecessary constraint checks and to warn about potential error situations such as the use of uninitialized variables.The one-pass nature of our method allows for faster compile times than more elaborate multi-pass flow analysis. Thus, we are able to generate efficient code without the impact on compile-time, and without the added implementation complexity, associated with a traditional separate optimization phase.