[cfe-commits] r72506 - /cfe/trunk/lib/CodeGen/CGValue.h
Mike Stump
mrs at apple.com
Wed May 27 17:16:52 PDT 2009
Author: mrs
Date: Wed May 27 19:16:27 2009
New Revision: 72506
URL: http://llvm.org/viewvc/llvm-project?rev=72506&view=rev
Log:
Not setting all the fields is confusing...
Modified:
cfe/trunk/lib/CodeGen/CGValue.h
Modified: cfe/trunk/lib/CodeGen/CGValue.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGValue.h?rev=72506&r1=72505&r2=72506&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGValue.h (original)
+++ cfe/trunk/lib/CodeGen/CGValue.h Wed May 27 19:16:27 2009
@@ -69,6 +69,7 @@
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 @@
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 @@
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
More information about the cfe-commits
mailing list