From b5d8866ced88e089e05593d58cfcd5646cf0aac2 Mon Sep 17 00:00:00 2001 From: "kmillikin@chromium.org" Date: Fri, 12 Sep 2008 08:52:22 +0000 Subject: [PATCH] Flexo is tired, but this should perk him up. Single-argument constructors should be marked explicit. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@295 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/codegen-arm.cc | 2 +- src/codegen-ia32.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codegen-arm.cc b/src/codegen-arm.cc index f24473c0a..df71fe87d 100644 --- a/src/codegen-arm.cc +++ b/src/codegen-arm.cc @@ -123,7 +123,7 @@ class CodeGenState BASE_EMBEDDED { // Create an initial code generator state. Destroying the initial state // leaves the code generator with a NULL state. - CodeGenState(ArmCodeGenerator* owner); + explicit CodeGenState(ArmCodeGenerator* owner); // Create a code generator state based on a code generator's current // state. The new state has its own access type and pair of branch diff --git a/src/codegen-ia32.cc b/src/codegen-ia32.cc index 8d39d7ed7..5ff5df5f6 100644 --- a/src/codegen-ia32.cc +++ b/src/codegen-ia32.cc @@ -129,7 +129,7 @@ class CodeGenState BASE_EMBEDDED { // Create an initial code generator state. Destroying the initial state // leaves the code generator with a NULL state. - CodeGenState(Ia32CodeGenerator* owner); + explicit CodeGenState(Ia32CodeGenerator* owner); // Create a code generator state based on a code generator's current // state. The new state has its own access type and pair of branch -- 2.34.1