Changeset 206 in dev for trunk/abdev/BasicCompiler32/OperatorProc.cpp
- Timestamp:
- Jul 12, 2007, 2:58:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/OperatorProc.cpp
r135 r206 1 #include "stdafx.h" 2 3 #include <jenga/include/smoothie/LexicalAnalysis.h> 4 1 5 #include "../BasicCompiler_Common/common.h" 2 6 #include "Opcode.h" … … 11 15 12 16 //call DestructorProcAddr 13 op_call( method->pUserProc);17 op_call( &method->GetUserProc() ); 14 18 } 15 19 … … 18 22 19 23 //call free 20 extern UserProc *pSub_free;24 extern const UserProc *pSub_free; 21 25 op_call(pSub_free); 22 26 } … … 27 31 pobj_c=(CClass *)index_stack[sp-2]; 28 32 29 std::vector< UserProc *> subs;33 std::vector<const UserProc *> subs; 30 34 pobj_c->GetMethods().Enum( idCalc, subs ); 31 35 if( subs.size() == 0 ){ … … 53 57 if(idCalc==CALC_EQUAL) lstrcpy(temporary,"=="); 54 58 else GetCalcName(idCalc,temporary); 55 UserProc *pUserProc = OverloadSolution( temporary, subs, params, baseType );59 const UserProc *pUserProc = OverloadSolution( temporary, subs, params, baseType ); 56 60 57 61 if(!pUserProc){ … … 107 111 108 112 //call calloc 109 extern UserProc *pSub_calloc;113 extern const UserProc *pSub_calloc; 110 114 op_call(pSub_calloc); 111 115 … … 249 253 } 250 254 void CallIndexerGetterProc(const CClass *pobj_Class,char *ObjectName,char *Parameter,Type &resultType){ 251 std::vector< UserProc *> subs;255 std::vector<const UserProc *> subs; 252 256 pobj_Class->GetMethods().Enum( CALC_ARRAY_GET, subs ); 253 257 if( subs.size() == 0 ){
Note:
See TracChangeset
for help on using the changeset viewer.