chllcode.cpp File Reference

#include <assert.h>
#include "cfg.h"
#include "statement.h"
#include "exp.h"
#include "proc.h"
#include "prog.h"
#include "hllcode.h"
#include "chllcode.h"
#include "signature.h"
#include "boomerang.h"
#include "type.h"
#include "util.h"
#include "log.h"
#include <sstream>

Go to the source code of this file.

Functions

bool isBareMemof (Exp *e, UserProc *proc)

Variables

char * operStrings []
static int progress = 0
 Append code for the given expression exp to stream str.


Function Documentation

bool isBareMemof Exp e,
UserProc proc
 

Definition at line 1195 of file chllcode.cpp.

References Exp::getSubExp1(), Exp::isMemOf(), UserProc::lookupSym(), and NULL.

Referenced by CHLLCode::AddAssignmentStatement().


Variable Documentation

char* operStrings[]
 

Definition at line 5 of file operstrings.h.

Referenced by Const::appendDotFile(), Terminal::appendDotFile(), Unary::appendDotFile(), Binary::appendDotFile(), Ternary::appendDotFile(), main(), Const::operator<(), Const::operator==(), XMLProgParser::persistToXML(), Const::print(), Binary::print(), Terminal::print(), Ternary::print(), Unary::printx(), Binary::printx(), Ternary::printx(), Const::printx(), TypeVal::printx(), TypedExp::printx(), Terminal::printx(), and RefExp::printx().

int progress = 0 [static]
 

Append code for the given expression exp to stream str.

Parameters:
str The stream to output to.
ext The expresson to output.
curPrec The current operator precedence. Add parens around this expression if necessary.
uns If true, cast operands to unsigned if necessary.
Todo:
This function is 800+ lines, and should possibly be split up.

Definition at line 81 of file chllcode.cpp.


Generated on Tue Sep 19 21:18:36 2006 for Boomerang by  doxygen 1.4.6