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
parent 0c4fd55c
...@@ -123,7 +123,7 @@ class CodeGenState BASE_EMBEDDED { ...@@ -123,7 +123,7 @@ class CodeGenState BASE_EMBEDDED {
// Create an initial code generator state. Destroying the initial state // Create an initial code generator state. Destroying the initial state
// leaves the code generator with a NULL 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 // 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 // state. The new state has its own access type and pair of branch
......
...@@ -129,7 +129,7 @@ class CodeGenState BASE_EMBEDDED { ...@@ -129,7 +129,7 @@ class CodeGenState BASE_EMBEDDED {
// Create an initial code generator state. Destroying the initial state // Create an initial code generator state. Destroying the initial state
// leaves the code generator with a NULL 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 // 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 // state. The new state has its own access type and pair of branch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment