Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler/Compiler-TCC
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv24021
Modified Files:
Compiler-TCC.cpp Compiler-TCC.h
Log Message:
std::string used to avoid memory hits outside data block.
Index: Compiler-TCC.h
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler/Compiler-TCC/Compiler-TCC.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Compiler-TCC.h 6 Feb 2007 19:42:03 -0000 1.2
--- Compiler-TCC.h 19 Feb 2007 18:44:02 -0000 1.3
***************
*** 22,30 ****
virtual std::string getCompilerName(void);
virtual std::string getCompilerVersion(void);
! virtual char *Language(void);
public:
CompilerTCC (class System *_system,
! char *_compilerBinary);
virtual std::string compiler(void);
--- 22,30 ----
virtual std::string getCompilerName(void);
virtual std::string getCompilerVersion(void);
! virtual std::string Language(void);
public:
CompilerTCC (class System *_system,
! std::string _compilerBinary);
virtual std::string compiler(void);
Index: Compiler-TCC.cpp
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Compiler/Compiler-TCC/Compiler-TCC.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Compiler-TCC.cpp 6 Feb 2007 19:42:03 -0000 1.2
--- Compiler-TCC.cpp 19 Feb 2007 18:44:02 -0000 1.3
***************
*** 13,17 ****
CompilerTCC::CompilerTCC(System *_system,
! char *_compilerBinary)
: Compiler(_system, _compilerBinary)
{
--- 13,17 ----
CompilerTCC::CompilerTCC(System *_system,
! std::string _compilerBinary)
: Compiler(_system, _compilerBinary)
{
***************
*** 44,48 ****
}
! char *CompilerTCC::Language(void)
{
return("C");
--- 44,48 ----
}
! std::string CompilerTCC::Language(void)
{
return("C");
|