summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-06-11 14:01:36 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-06-11 14:01:36 +0000
commitbe583b914d8156b99d3da264d5adca37fee8dbc9 (patch)
treeda884b147eb2f4dbcaf253225e26f82899ec3553 /lib/VMCore
parentaff713cca56dced4a1423f6cbab666ea30e93c23 (diff)
downloadllvm-be583b914d8156b99d3da264d5adca37fee8dbc9.tar.gz
llvm-be583b914d8156b99d3da264d5adca37fee8dbc9.tar.bz2
llvm-be583b914d8156b99d3da264d5adca37fee8dbc9.tar.xz
Included assert.h so that the code compiles under newer versions of GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/ConstantFold.h2
-rw-r--r--lib/VMCore/ConstantFolding.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h
index 2401ad7596..7589bb9a35 100644
--- a/lib/VMCore/ConstantFold.h
+++ b/lib/VMCore/ConstantFold.h
@@ -33,6 +33,8 @@
#ifndef LLVM_CONSTANTHANDLING_H
#define LLVM_CONSTANTHANDLING_H
+#include <assert.h>
+
#include "llvm/Constants.h"
#include "llvm/Type.h"
class PointerType;
diff --git a/lib/VMCore/ConstantFolding.h b/lib/VMCore/ConstantFolding.h
index 2401ad7596..7589bb9a35 100644
--- a/lib/VMCore/ConstantFolding.h
+++ b/lib/VMCore/ConstantFolding.h
@@ -33,6 +33,8 @@
#ifndef LLVM_CONSTANTHANDLING_H
#define LLVM_CONSTANTHANDLING_H
+#include <assert.h>
+
#include "llvm/Constants.h"
#include "llvm/Type.h"
class PointerType;