diff options
author | Mike Stump <mrs@apple.com> | 2009-05-28 00:16:27 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-05-28 00:16:27 +0000 |
commit | 01c2d0a17cfaf1b1e50874638d973750a7579dac (patch) | |
tree | 0ca19924564883f1cac3f63377988236af2ca380 | |
parent | 16f422ec862bb00aa88544d3b7bc69233272d622 (diff) | |
download | bcm5719-llvm-01c2d0a17cfaf1b1e50874638d973750a7579dac.tar.gz bcm5719-llvm-01c2d0a17cfaf1b1e50874638d973750a7579dac.zip |
Not setting all the fields is confusing...
llvm-svn: 72506
-rw-r--r-- | clang/lib/CodeGen/CGValue.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGValue.h b/clang/lib/CodeGen/CGValue.h index e4175bb62d8..820e1bd6c3e 100644 --- a/clang/lib/CodeGen/CGValue.h +++ b/clang/lib/CodeGen/CGValue.h @@ -69,6 +69,7 @@ public: RValue ER; ER.V1 = V; ER.Flavor = Scalar; + ER.Volatile = false; return ER; } static RValue getComplex(llvm::Value *V1, llvm::Value *V2) { @@ -76,6 +77,7 @@ public: ER.V1 = V1; ER.V2 = V2; ER.Flavor = Complex; + ER.Volatile = false; return ER; } static RValue getComplex(const std::pair<llvm::Value *, llvm::Value *> &C) { @@ -83,6 +85,7 @@ public: ER.V1 = C.first; ER.V2 = C.second; ER.Flavor = Complex; + ER.Volatile = false; return ER; } // FIXME: Aggregate rvalues need to retain information about whether they are |