Changeset 597 in dev for trunk/ab5.0/abdev/BasicCompiler_Common
- Timestamp:
- May 10, 2008, 7:42:22 PM (17 years ago)
- 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 243 243 void NextSourceLine( int currentSourceIndex ) 244 244 { 245 pNativeCode->NextSourceLine( currentSourceIndex ); 245 extern int cp; 246 pNativeCode->NextSourceLine( currentSourceIndex, cp ); 246 247 } 247 248 -
trunk/ab5.0/abdev/BasicCompiler_Common/include/NativeCode.h
r551 r597 254 254 return sourceLines; 255 255 } 256 void NextSourceLine( int currentSourceIndex );256 void NextSourceLine( int currentSourceIndex, int nowLine ); 257 257 258 258 void ResetDataSectionBaseOffset( long dataSectionBaseOffset ); -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Class.cpp
r567 r597 1 1 #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 #else11 #include "../../compiler_x86/opcode.h"12 #endif13 14 using namespace ActiveBasic::Compiler;15 2 16 3 void CClass::Using() const -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Const.cpp
r579 r597 1 1 #include "stdafx.h" 2 3 #include <Compiler.h>4 5 using namespace ActiveBasic::Compiler;6 2 7 3 double CConst::GetDoubleData(){ -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Delegate.cpp
r581 r597 1 1 #include "stdafx.h" 2 3 #include <Delegate.h>4 2 5 3 bool Delegate::IsSimilar( const Delegate &dgt ) const -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Meta.cpp
r566 r597 1 1 #include "stdafx.h" 2 3 #include <Compiler.h>4 2 5 3 void Meta::Clear() -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Method.cpp
r559 r597 1 1 #include "stdafx.h" 2 3 #include <Class.h>4 5 2 6 3 DynamicMethod::OverrideResult::EnumType DynamicMethod::Override( const UserProc *pUserProc, Prototype::Accessibility accessibility, bool isOverrideModifier ) -
trunk/ab5.0/abdev/BasicCompiler_Common/src/NativeCode.cpp
r551 r597 1 1 #include "stdafx.h" 2 3 #include <Compiler.h>4 2 5 3 #define BREAK_EIP(checkEip) (obp+0x00401000>=checkEip) … … 108 106 } 109 107 110 void NativeCode::NextSourceLine( int currentSourceIndex )108 void NativeCode::NextSourceLine( int currentSourceIndex, int nowLine ) 111 109 { 112 110 if( sourceLines.size() ) … … 114 112 if( sourceLines.back().GetNativeCodePos() == GetSize() ) 115 113 { 116 sourceLines.back().SetSourceCodePos( cp);114 sourceLines.back().SetSourceCodePos( nowLine ); 117 115 return; 118 116 } … … 135 133 GetSize(), 136 134 currentSourceIndex, 137 cp,135 nowLine, 138 136 sourceLineType 139 137 ) -
trunk/ab5.0/abdev/BasicCompiler_Common/src/ObjectModule.cpp
r595 r597 81 81 #include <ObjectModule.h> 82 82 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 95 83 96 84 void ObjectModule::StaticLink( ObjectModule &objectModule ) -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Parameter.cpp
r569 r597 1 1 #include "stdafx.h" 2 3 2 4 3 bool Parameter::Equals( const Parameter ¶m, bool isContravariant ) const -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Procedure.cpp
r576 r597 1 1 #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 #else10 #include "../../compiler_x86/opcode.h"11 #endif12 13 using namespace ActiveBasic::Compiler;14 15 2 16 3 bool UserProc::IsEqualForOverride( const Types &actualTypeParametersForThisProc, const UserProc *pUserProc ) const -
trunk/ab5.0/abdev/BasicCompiler_Common/src/Type.cpp
r556 r597 1 1 #include "stdafx.h" 2 3 #include <Class.h>4 2 5 3 const int Type::basicTypeList[] = { -
trunk/ab5.0/abdev/BasicCompiler_Common/src/TypeDef.cpp
r577 r597 1 1 #include "stdafx.h" 2 3 #include <TypeDef.h>4 #include <Compiler.h>5 2 6 3 TypeDef::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 1 1 #include "stdafx.h" 2 3 #include <Compiler.h>4 #include <Variable.h>5 2 6 3 Variable::Variable( const Symbol &symbol, const Type &type, bool isConst, bool isRef, const std::string ¶mStrForConstructor, bool hasInitData )
Note:
See TracChangeset
for help on using the changeset viewer.