DataInterval Struct Reference

#include <include/type.h>

List of all members.

Detailed Description

Class DataInterval.

This class is used to represent local variables in procedures, and the global variables for the program. The concept is that the data space (the current procedure's stack or the global data space) has to be partitioned into separate variables of various sizes and types. If a new variable is inserted that would cause an overlap, the types have to be reconciled such that they no longer conflict (generally, the smaller type becomes a member of the larger type, which has to be a structure or an array). Each procedure and the Prog object have a map from ADDRESS (stack offset from sp{0} for locals, or native address for globals), to an object of this class. A multimap is not needed, as the type of the entry specifies the overlapping.

Definition at line 676 of file type.h.

Public Attributes

std::string name
unsigned size

Member Data Documentation

std::string DataInterval::name

Definition at line 678 of file type.h.

unsigned DataInterval::size

Definition at line 677 of file type.h.

Type* DataInterval::type

Definition at line 679 of file type.h.

The documentation for this struct was generated from the following file:
Generated on Tue Sep 19 21:18:41 2006 for Boomerang by  doxygen 1.4.6