Ignore:
Timestamp:
Jun 11, 2008, 10:10:26 PM (16 years ago)
Author:
dai_9181
Message:

リンカの依存関係解決モジュールを製作中

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/src/Lexical/Procedure.cpp

    r632 r637  
    11#include "stdafx.h"
    22
     3
     4void Procedure::ResetRelationalObjectModuleIndex( const std::vector<int> &relationTable )
     5{
     6    RelationalObjectModuleItem::ResetRelationalObjectModuleIndex( relationTable );
     7
     8    if( !this->sourceCodePosition.IsNothing() )
     9    {
     10        this->sourceCodePosition.SetRelationalObjectModuleIndex( relationTable[this->sourceCodePosition.GetRelationalObjectModuleIndex()] );
     11    }
     12}
     13
     14void UserProc::ResetRelationalObjectModuleIndex( const std::vector<int> &relationTable )
     15{
     16    Procedure::ResetRelationalObjectModuleIndex( relationTable );
     17
     18    this->GetNativeCode().ResetRelationalObjectModuleIndex( relationTable );
     19}
     20
    321int id_base = 0;
    422
    5 UserProc::UserProc( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const std::string &name, Kind kind, bool isMacro, bool isCdecl, bool isExport )
    6     : Procedure( namespaceScopes, name, kind, isCdecl )
     23UserProc::UserProc( const Symbol &symbol, const NamespaceScopesCollection &importedNamespaces, Kind kind, bool isMacro, bool isCdecl, bool isExport )
     24    : Procedure( symbol, kind, isCdecl )
    725    , importedNamespaces( importedNamespaces )
    826    , pParentClass( NULL )
     
    139157}
    140158
     159bool UserProc::Resolve()
     160{
     161    // TODO: Resolve
     162    return true;
     163}
     164
    141165const UserProc *UserProc::pGlobalProc = NULL;
    142166
     
    161185}
    162186
     187bool DllProc::Resolve()
     188{
     189    // TODO: Resolve
     190    return true;
     191}
     192
     193bool ProcPointer::Resolve()
     194{
     195    // TODO: Resolve
     196    return true;
     197}
     198
    163199void ProcPointers::Clear()
    164200{
Note: See TracChangeset for help on using the changeset viewer.