Type Test Elimination using Typeflow Analysis


Autoria(s): Corney, Diane; Gough, John
Data(s)

1994

Resumo

Programs written in languages of the Oberon family usually contain runtime tests on the dynamic type of variables. In some cases it may be desirable to reduce the number of such tests. Typeflow analysis is a static method of determining bounds on the types that objects may possess at runtime. We show that this analysis is able to reduce the number of tests in certain plausible circumstances. Furthermore, the same analysis is able to detect certain program errors at compile time, which would normally only be detected at program execution. This paper introduces the concepts of typeflow analysis and details its use in the reduction of runtime overhead in Oberon-2.

Formato

application/pdf

Identificador

http://eprints.qut.edu.au/30158/

Publicador

Springer Berlin / Heidelberg

Relação

http://eprints.qut.edu.au/30158/1/c30158.pdf

DOI:10.1007/3-540-57840-4

Corney, Diane & Gough, John (1994) Type Test Elimination using Typeflow Analysis. In Lecture Notes in Computer Science, Springer Berlin / Heidelberg, Zurich, Switzerland, pp. 137-150.

Direitos

Copyright 1994 Please consult the authors.

Fonte

Faculty of Science and Technology

Palavras-Chave #080308 Programming Languages #typeflow analysis #dynamic typing #type tests #Oberon-2
Tipo

Conference Paper