Changeset 597 in dev for trunk


Ignore:
Timestamp:
May 10, 2008, 7:42:22 PM (17 years ago)
Author:
dai_9181
Message:

インクルード順序を整理

Location:
trunk/ab5.0/abdev/BasicCompiler_Common
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/CodeGenerator.h

    r551 r597  
    243243    void NextSourceLine( int currentSourceIndex )
    244244    {
    245         pNativeCode->NextSourceLine( currentSourceIndex );
     245        extern int cp;
     246        pNativeCode->NextSourceLine( currentSourceIndex, cp );
    246247    }
    247248
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/NativeCode.h

    r551 r597  
    254254        return sourceLines;
    255255    }
    256     void NextSourceLine( int currentSourceIndex );
     256    void NextSourceLine( int currentSourceIndex, int nowLine );
    257257
    258258    void ResetDataSectionBaseOffset( long dataSectionBaseOffset );
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Class.cpp

    r567 r597  
    11#include "stdafx.h"
    2 
    3 #include <Source.h>
    4 #include <Class.h>
    5 #include <Compiler.h>
    6 
    7 #include "../common.h"
    8 #ifdef _AMD64_
    9 #include "../../compiler_x64/opcode.h"
    10 #else
    11 #include "../../compiler_x86/opcode.h"
    12 #endif
    13 
    14 using namespace ActiveBasic::Compiler;
    152
    163void CClass::Using() const
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Const.cpp

    r579 r597  
    11#include "stdafx.h"
    2 
    3 #include <Compiler.h>
    4 
    5 using namespace ActiveBasic::Compiler;
    62
    73double CConst::GetDoubleData(){
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Delegate.cpp

    r581 r597  
    11#include "stdafx.h"
    2 
    3 #include <Delegate.h>
    42
    53bool Delegate::IsSimilar( const Delegate &dgt ) const
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Meta.cpp

    r566 r597  
    11#include "stdafx.h"
    2 
    3 #include <Compiler.h>
    42
    53void Meta::Clear()
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Method.cpp

    r559 r597  
    11#include "stdafx.h"
    2 
    3 #include <Class.h>
    4 
    52
    63DynamicMethod::OverrideResult::EnumType DynamicMethod::Override( const UserProc *pUserProc, Prototype::Accessibility accessibility, bool isOverrideModifier )
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/NativeCode.cpp

    r551 r597  
    11#include "stdafx.h"
    2 
    3 #include <Compiler.h>
    42
    53#define BREAK_EIP(checkEip)  (obp+0x00401000>=checkEip)
     
    108106}
    109107
    110 void NativeCode::NextSourceLine( int currentSourceIndex )
     108void NativeCode::NextSourceLine( int currentSourceIndex, int nowLine )
    111109{
    112110    if( sourceLines.size() )
     
    114112        if( sourceLines.back().GetNativeCodePos() == GetSize() )
    115113        {
    116             sourceLines.back().SetSourceCodePos( cp );
     114            sourceLines.back().SetSourceCodePos( nowLine );
    117115            return;
    118116        }
     
    135133            GetSize(),
    136134            currentSourceIndex,
    137             cp,
     135            nowLine,
    138136            sourceLineType
    139137        )
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/ObjectModule.cpp

    r595 r597  
    8181#include <ObjectModule.h>
    8282
    83 #include <Exception.h>
    84 #include <logger.h>
    85 #include <Configuration.h>
    86 #include <CodeGenerator.h>
    87 #include <Messenger.h>
    88 #include <Linker.h>
    89 #include <Compiler.h>
    90 #include <Debugger.h>
    91 #include <Program.h>
    92 #include <LexicalAnalyzer.h>
    93 
    94 
    9583
    9684void ObjectModule::StaticLink( ObjectModule &objectModule )
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Parameter.cpp

    r569 r597  
    11#include "stdafx.h"
    2 
    32
    43bool Parameter::Equals( const Parameter &param, bool isContravariant ) const
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Procedure.cpp

    r576 r597  
    11#include "stdafx.h"
    2 
    3 #include <Compiler.h>
    4 #include <Procedure.h>
    5 
    6 #include "../common.h"
    7 #ifdef _AMD64_
    8 #include "../../compiler_x64/opcode.h"
    9 #else
    10 #include "../../compiler_x86/opcode.h"
    11 #endif
    12 
    13 using namespace ActiveBasic::Compiler;
    14 
    152
    163bool UserProc::IsEqualForOverride( const Types &actualTypeParametersForThisProc, const UserProc *pUserProc ) const
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Type.cpp

    r556 r597  
    11#include "stdafx.h"
    2 
    3 #include <Class.h>
    42
    53const int Type::basicTypeList[] = {
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/TypeDef.cpp

    r577 r597  
    11#include "stdafx.h"
    2 
    3 #include <TypeDef.h>
    4 #include <Compiler.h>
    52
    63TypeDef::TypeDef( const NamespaceScopes &namespaceScopes, const std::string &name, const std::string &baseName, const Type &baseType )
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Variable.cpp

    r580 r597  
    11#include "stdafx.h"
    2 
    3 #include <Compiler.h>
    4 #include <Variable.h>
    52
    63Variable::Variable( const Symbol &symbol, const Type &type, bool isConst, bool isRef, const std::string &paramStrForConstructor, bool hasInitData )
Note: See TracChangeset for help on using the changeset viewer.