diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-07 19:46:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-07 19:46:27 +0000 |
commit | ea38c0e85c29783fdaf3b6c25fe7e3aa43688521 (patch) | |
tree | 57a35601ab9aaf85b0146a6e0e835e1c5c354a2b /lib/ExecutionEngine/Interpreter/Interpreter.h | |
parent | aa6ec735cf519c0cd023a5a920081bf161a328cd (diff) |
* Switch to operation on pointers with PointerTy more consistently
* Fix misspeling
* Catch SIGFPE for traps
* info XXX now prints the raw contents of the GenericValue
* Switch to calloc instead of malloc (temporarily I hope) to bandaid Olden benchmarks
* Implement binary And & Or
* Convert expressions like this:
PointerTy SrcPtr = getOperandValue(I->getPtrOperand(), SF).PointerVal;
to:
GenericValue SRC = getOperandValue(I->getPtrOperand(), SF);
PointerTy SrcPtr = SRC.PointerVal;
because the prior way confuses purify.
* Taint the initial values of the value planes
* Handling 'print bb4' in the interpreter without crashing
* Print nicer stack frames with concise return type
* printf doesn't suck nearly as badly as it used to
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1177 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index 791419d4ad..eba8ea9c32 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -20,6 +20,8 @@ class ReturnInst; class BranchInst; class AllocationInst; +typedef uint64_t PointerTy; + union GenericValue { bool BoolVal; unsigned char UByteVal; @@ -32,7 +34,7 @@ union GenericValue { int64_t LongVal; double DoubleVal; float FloatVal; - uint64_t PointerVal; + PointerTy PointerVal; }; typedef vector<GenericValue> ValuePlaneTy; |