Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

value_block_utils.h File Reference


Defines

#define UTILS__VALUE_BLOCK_UTILS_H

Functions

void append_to_multi_value_block ( MultiValueBlock* block, ValueBlock* value_block )
append a value block to a multivalue block. More...

VariableSymbol* build_string_constant_variable (SuifEnv *env,const char *string)
Build a string constant. More...

VariableSymbol* build_initialized_variable ( SuifEnv *env,const LString &name,DataType *type,ValueBlock *vb,bool make_static = false)
Build a variable for a given value block. More...


Define Documentation

#define UTILS__VALUE_BLOCK_UTILS_H


Function Documentation

void append_to_multi_value_block (MultiValueBlock * block, ValueBlock * value_block)

append a value block to a multivalue block.

The position is calculated from the size of the multi value block BUG: Padding is not performed

VariableSymbol * build_string_constant_variable (SuifEnv * env, const char * string)

Build a string constant.

The variable is added at global scope.

Parameters:
Suif - environment
The - string

NB: Requires that there be exactly one FileBlock in the suif environment

VariableSymbol * build_initialized_variable (SuifEnv * env, const LString & name, DataType * type, ValueBlock * vb, bool make_static = false)

Build a variable for a given value block.

Parameters:
suif - environment
name - for variable
type - for variable
value - block
true - for static (default false)

Generated at Wed Apr 25 17:34:45 2001 for NCI SUIF by doxygen  written by Dimitri van Heesch, © 1997-1999