diff --git a/driver/codegenerator.cpp b/driver/codegenerator.cpp index 3204dc5945..fcb3399f59 100644 --- a/driver/codegenerator.cpp +++ b/driver/codegenerator.cpp @@ -19,7 +19,7 @@ #include "gen/logger.h" #include "gen/modules.h" #include "gen/runtime.h" -#include "gen/runtimecompile.h" +#include "gen/dynamiccompile.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" #include "llvm/Support/ToolOutputFile.h" diff --git a/gen/runtimecompile.cpp b/gen/dynamiccompile.cpp similarity index 99% rename from gen/runtimecompile.cpp rename to gen/dynamiccompile.cpp index a64537102d..7de4020ba0 100644 --- a/gen/runtimecompile.cpp +++ b/gen/dynamiccompile.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "gen/runtimecompile.h" +#include "gen/dynamiccompile.h" #if defined(LDC_DYNAMIC_COMPILE) diff --git a/gen/runtimecompile.h b/gen/dynamiccompile.h similarity index 80% rename from gen/runtimecompile.h rename to gen/dynamiccompile.h index d63d2ea4ea..5f7fc9d0f4 100644 --- a/gen/runtimecompile.h +++ b/gen/dynamiccompile.h @@ -1,4 +1,4 @@ -//===-- gen/runtimecompile.h - jit support ----------------------*- C++ -*-===// +//===-- gen/dynamiccompile.h - jit support ----------------------*- C++ -*-===// // // LDC – the LLVM D compiler // @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LDC_GEN_RUNTIMECOMPILE_H -#define LDC_GEN_RUNTIMECOMPILE_H +#ifndef LDC_GEN_DYNAMICCOMPILE_H +#define LDC_GEN_DYNAMICCOMPILE_H struct IRState; struct IrFunction; @@ -23,4 +23,4 @@ void declareRuntimeCompiledFunction(IRState *irs, IrFunction *func); void defineRuntimeCompiledFunction(IRState *irs, IrFunction *func); void addRuntimeCompiledVar(IRState *irs, IrGlobal *var); -#endif // LDC_GEN_RUNTIMECOMPILE_H +#endif // LDC_GEN_DYNAMICCOMPILE_H diff --git a/gen/functions.cpp b/gen/functions.cpp index 1b17b3cf8b..feda9147d7 100644 --- a/gen/functions.cpp +++ b/gen/functions.cpp @@ -39,7 +39,7 @@ #include "gen/pgo.h" #include "gen/pragma.h" #include "gen/runtime.h" -#include "gen/runtimecompile.h" +#include "gen/dynamiccompile.h" #include "gen/scope_exit.h" #include "gen/tollvm.h" #include "gen/uda.h" diff --git a/gen/llvmhelpers.cpp b/gen/llvmhelpers.cpp index fe7542802f..791754ba50 100644 --- a/gen/llvmhelpers.cpp +++ b/gen/llvmhelpers.cpp @@ -44,7 +44,7 @@ #include #include "llvm/Support/CommandLine.h" -#include "gen/runtimecompile.h" +#include "gen/dynamiccompile.h" llvm::cl::opt clThreadModel( "fthread-model", llvm::cl::ZeroOrMore, llvm::cl::desc("Thread model"),