diff options
Diffstat (limited to 'lib/Core/Executor.h')
| -rw-r--r-- | lib/Core/Executor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h index d47a3364..7e6b79cd 100644 --- a/lib/Core/Executor.h +++ b/lib/Core/Executor.h @@ -37,7 +37,11 @@ namespace llvm { class Function; class GlobalValue; class Instruction; +#if LLVM_VERSION_CODE <= LLVM_VERSION(3, 1) + class TargetData; +#else class DataLayout; +#endif class Twine; class Value; } |
