diff --git a/src/hydrogen.h b/src/hydrogen.h index 05eb121e83..50c76cb69b 100644 --- a/src/hydrogen.h +++ b/src/hydrogen.h @@ -669,7 +669,6 @@ enum ReturnHandlingFlag { class FunctionState { public: - FunctionState(HGraphBuilder* owner, CompilationInfo* info, TypeFeedbackOracle* oracle, diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h index 8450974eef..647ba6aeae 100644 --- a/src/ia32/lithium-ia32.h +++ b/src/ia32/lithium-ia32.h @@ -1998,7 +1998,7 @@ class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { class LAllocateObject: public LTemplateInstruction<1, 1, 0> { public: - LAllocateObject(LOperand* context) { + explicit LAllocateObject(LOperand* context) { inputs_[0] = context; }