mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 01:30:36 +00:00
Fix a word-o and add an explicit keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51610 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0f65e1348
commit
201694b0c6
@ -32,7 +32,7 @@ namespace llvm {
|
|||||||
class SparseSolver;
|
class SparseSolver;
|
||||||
|
|
||||||
/// AbstractLatticeFunction - This class is implemented by the dataflow instance
|
/// AbstractLatticeFunction - This class is implemented by the dataflow instance
|
||||||
/// to specify what the lattice values are and what how they handle merges etc.
|
/// to specify what the lattice values are and how they handle merges etc.
|
||||||
/// This gives the client the power to compute lattice values from instructions,
|
/// This gives the client the power to compute lattice values from instructions,
|
||||||
/// constants, etc. The requirement is that lattice values must all fit into
|
/// constants, etc. The requirement is that lattice values must all fit into
|
||||||
/// a void*. If a void* is not sufficient, the implementation should use this
|
/// a void*. If a void* is not sufficient, the implementation should use this
|
||||||
@ -119,7 +119,8 @@ class SparseSolver {
|
|||||||
SparseSolver(const SparseSolver&); // DO NOT IMPLEMENT
|
SparseSolver(const SparseSolver&); // DO NOT IMPLEMENT
|
||||||
void operator=(const SparseSolver&); // DO NOT IMPLEMENT
|
void operator=(const SparseSolver&); // DO NOT IMPLEMENT
|
||||||
public:
|
public:
|
||||||
SparseSolver(AbstractLatticeFunction *Lattice) : LatticeFunc(Lattice) {}
|
explicit SparseSolver(AbstractLatticeFunction *Lattice)
|
||||||
|
: LatticeFunc(Lattice) {}
|
||||||
~SparseSolver() {
|
~SparseSolver() {
|
||||||
delete LatticeFunc;
|
delete LatticeFunc;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user