about summary refs log tree commit diff homepage
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-28 07:59:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-28 07:59:09 +0000
commitf5e6b462646f5a20dd0e5f6c4befaa7b72d1e1ff (patch)
tree8c3a622ce7955e304134b2175813721b30a99005 /include
parent4fcf6a3c9b87b02d73b6a2f55c17573ca7fc5bbc (diff)
downloadklee-f5e6b462646f5a20dd0e5f6c4befaa7b72d1e1ff.tar.gz
Move Machine constants into Context object, initialized based on the target
data.
 - This is the first step towards having KLEE be fully target independent, its not
   particularly beautiful but its expedient.


git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@77306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/klee/Expr.h1
-rw-r--r--include/klee/Machine.h28
2 files changed, 0 insertions, 29 deletions
diff --git a/include/klee/Expr.h b/include/klee/Expr.h
index a14cb43e..143ce4cd 100644
--- a/include/klee/Expr.h
+++ b/include/klee/Expr.h
@@ -10,7 +10,6 @@
 #ifndef KLEE_EXPR_H
 #define KLEE_EXPR_H
 
-#include "Machine.h"
 #include "klee/util/Bits.h"
 #include "klee/util/Ref.h"
 
diff --git a/include/klee/Machine.h b/include/klee/Machine.h
deleted file mode 100644
index b8a9e9ac..00000000
--- a/include/klee/Machine.h
+++ /dev/null
@@ -1,28 +0,0 @@
-//===-- Machine.h -----------------------------------------------*- C++ -*-===//
-//
-//                     The KLEE Symbolic Virtual Machine
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef __KLEE_MACHINE_H__
-#define __KLEE_MACHINE_H__
-
-#include "klee/Expr.h"
-
-namespace klee {
-  namespace machine {
-    enum ByteOrder {
-      LSB = 0,
-      MSB = 1
-    };
-  }
-}
-
-#define kMachineByteOrder      klee::machine::LSB
-#define kMachinePointerType    Expr::Int32
-#define kMachinePointerSize    4
-
-#endif /* __KLEE_MACHINE_H__ */