Changeset 523 in dev for trunk/ab5.0/abdev/compiler_x86
- Timestamp:
- May 1, 2008, 11:03:14 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/compiler_x86
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/compiler_x86/CParameter.cpp
r465 r523 6 6 #include "opcode.h" 7 7 8 int ParamImpl::NewTempParameters( const st ring &procName, const Parameters ¶ms, int SecondParmNum ){8 int ParamImpl::NewTempParameters( const std::string &procName, const Parameters ¶ms, int SecondParmNum ){ 9 9 if( SecondParmNum == -1 ) SecondParmNum = (int)params.size(); 10 10 … … 174 174 } 175 175 176 int ParamImpl::SetParameter( const st ring &procName, const Parameters ¶ms, int SecondParmNum, const UserProc *pUserProc ){176 int ParamImpl::SetParameter( const std::string &procName, const Parameters ¶ms, int SecondParmNum, const UserProc *pUserProc ){ 177 177 if( SecondParmNum == -1 ) SecondParmNum = (int)params.size(); 178 178 -
trunk/ab5.0/abdev/compiler_x86/Compile_Calc.cpp
r465 r523 611 611 if( varType.IsObject() && compiler.GetObjectModule().meta.GetBlittableTypes().IsExist( calcType ) ){ 612 612 // Blittable型をオブジェクトとして扱う 613 vector<const UserProc *> userProcs;613 std::vector<const UserProc *> userProcs; 614 614 compiler.GetObjectModule().meta.GetBlittableTypes().GetClass( calcType ).GetStaticMethods().Enum( "_Create", userProcs ); 615 615 if( userProcs.size() != 1 ){ -
trunk/ab5.0/abdev/compiler_x86/Compile_Func.cpp
r484 r523 524 524 } 525 525 } 526 void Opcode_Func_SizeOf( const st ring &typeName ){526 void Opcode_Func_SizeOf( const std::string &typeName ){ 527 527 Type tempType; 528 528 if( !compiler.StringToType( typeName, tempType ) ){ -
trunk/ab5.0/abdev/compiler_x86/MakePeHdr.cpp
r519 r523 349 349 #ifdef _DEBUG 350 350 { 351 ofstream ofs( ( Jenga::Common::Environment::GetAppDir() + "\\middle_code.txt" ).c_str() );352 ofs << basbuf << endl;351 std::ofstream ofs( ( Jenga::Common::Environment::GetAppDir() + "\\middle_code.txt" ).c_str() ); 352 ofs << basbuf << std::endl; 353 353 ofs.close(); 354 354 } -
trunk/ab5.0/abdev/compiler_x86/NumOpe.cpp
r488 r523 255 255 // 動的メソッドを検索 256 256 /////////////////////////////////////////////////////////////////// 257 vector<const UserProc *> userProcs;257 std::vector<const UserProc *> userProcs; 258 258 259 259 char methodName[VN_SIZE], lpPtrOffset[VN_SIZE], parameter[VN_SIZE], dummy[1]; -
trunk/ab5.0/abdev/compiler_x86/Opcode.h
r436 r523 197 197 198 198 void ApplyDefaultParameters( const Parameters ¶ms ); 199 bool ErrorCheck( const st ring &procName, const Parameters ¶ms, int SecondParmNum = -1 );199 bool ErrorCheck( const std::string &procName, const Parameters ¶ms, int SecondParmNum = -1 ); 200 200 void MacroParameterSupport( const Parameters ¶ms ); 201 201 void SetStructParameter( const Type &baseType, const char *expression ); 202 int SetParameter( const st ring &procName, const Parameters ¶ms, int SecondParmNum = -1, const UserProc *pUserProc = NULL );202 int SetParameter( const std::string &procName, const Parameters ¶ms, int SecondParmNum = -1, const UserProc *pUserProc = NULL ); 203 203 204 204 //一時オブジェクトパラメータの生成と破棄 205 int NewTempParameters( const st ring &procName, const Parameters ¶ms, int SecondParmNum = -1 );205 int NewTempParameters( const std::string &procName, const Parameters ¶ms, int SecondParmNum = -1 ); 206 206 void DeleteTempParameters(); 207 207 };
Note:
See TracChangeset
for help on using the changeset viewer.