diff options
author | 2015-08-13 11:00:54 +0000 | |
---|---|---|
committer | 2015-08-13 11:00:54 +0000 | |
commit | 7c2af0d873b7033adccf8fa7adf259166c53d369 (patch) | |
tree | ec1a3cffa19b1131abcdd3e64541a14e9bcc4b86 /compiler/optimizing/nodes.h | |
parent | 1d4219ee25dfb228cc72f353d97be69584fc0722 (diff) | |
parent | 3887c468d731420e929e6ad3acf190d5431e94fc (diff) |
Merge "Remove unnecessary `explicit` qualifiers on constructors."
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index e6df429622..89709faef6 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -3213,7 +3213,7 @@ class HNewInstance : public HExpression<1> { class HNeg : public HUnaryOperation { public: - explicit HNeg(Primitive::Type result_type, HInstruction* input) + HNeg(Primitive::Type result_type, HInstruction* input) : HUnaryOperation(result_type, input) {} template <typename T> T Compute(T x) const { return -x; } @@ -3654,7 +3654,7 @@ class HParameterValue : public HExpression<0> { class HNot : public HUnaryOperation { public: - explicit HNot(Primitive::Type result_type, HInstruction* input) + HNot(Primitive::Type result_type, HInstruction* input) : HUnaryOperation(result_type, input) {} bool CanBeMoved() const OVERRIDE { return true; } @@ -4320,7 +4320,7 @@ class HLoadString : public HExpression<1> { */ class HClinitCheck : public HExpression<1> { public: - explicit HClinitCheck(HLoadClass* constant, uint32_t dex_pc) + HClinitCheck(HLoadClass* constant, uint32_t dex_pc) : HExpression( Primitive::kPrimNot, SideEffects::AllChanges()), // Assume write/read on all fields/arrays. |