diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-16 06:17:14 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-16 06:17:14 +0000 |
commit | f2643f41b42075a11276d602363496985790641d (patch) | |
tree | 76b910f3f652d913e5b7e8149c66ed580c8bf401 /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | |
parent | bd7287ebe5d13183fb274057727e5380c1c1bd4f (diff) | |
download | bcm5719-llvm-f2643f41b42075a11276d602363496985790641d.tar.gz bcm5719-llvm-f2643f41b42075a11276d602363496985790641d.zip |
Make ExecutionEngine owning a DataLayout
Summary:
This change is part of a series of commits dedicated to have a single
DataLayout during compilation by using always the one owned by the
module.
The ExecutionEngine will act as an exception and will be unsafe to
be reused across context. We don't enforce this rule but undefined
behavior can occurs if the user tries to do it.
Reviewers: lhames
Subscribers: echristo, llvm-commits, rafael, yaron.keren
Differential Revision: http://reviews.llvm.org/D11110
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 242387
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index f97664181a8..bd813ac4900 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -95,7 +95,6 @@ struct ExecutionContext { // class Interpreter : public ExecutionEngine, public InstVisitor<Interpreter> { GenericValue ExitValue; // The return value of the called function - DataLayout TD; IntrinsicLowering *IL; // The runtime stack of executing code. The top of the stack is the current |