fix some lint

I tried to remove the namespace thing but that rabbit hole went too deep. When I hit ##OPCODES## I stopped.
Esse commit está contido em:
Paul Tarjan
2013-04-19 16:41:35 -07:00
commit de Sara Golemon
commit 6f932592ea
2 arquivos alterados com 4 adições e 4 exclusões
+2 -2
Ver Arquivo
@@ -1432,7 +1432,7 @@ private:
*/
class RestoreErrorReportingThunklet : public Thunklet {
public:
RestoreErrorReportingThunklet(Id loc) : m_oldLevelLoc(loc) {}
explicit RestoreErrorReportingThunklet(Id loc) : m_oldLevelLoc(loc) {}
virtual void emit(Emitter& e) {
e.getEmitterVisitor().emitRestoreErrorReporting(e, m_oldLevelLoc);
e.Unwind();
@@ -1443,7 +1443,7 @@ private:
class UnsetUnnamedLocalThunklet : public Thunklet {
public:
UnsetUnnamedLocalThunklet(Id loc) : m_loc(loc) {}
explicit UnsetUnnamedLocalThunklet(Id loc) : m_loc(loc) {}
virtual void emit(Emitter& e) {
e.getEmitterVisitor().emitVirtualLocal(m_loc);
e.getEmitterVisitor().emitUnset(e);
+2 -2
Ver Arquivo
@@ -287,7 +287,7 @@ public:
class Label {
public:
Label() : m_off(InvalidAbsoluteOffset) {}
Label(Emitter& e) : m_off(InvalidAbsoluteOffset) {
explicit Label(Emitter& e) : m_off(InvalidAbsoluteOffset) {
set(e);
}
Offset getAbsoluteOffset() const { return m_off; }
@@ -326,7 +326,7 @@ public:
class EmitterVisitor {
friend class UnsetUnnamedLocalThunklet;
public:
EmitterVisitor(UnitEmitter& ue);
explicit EmitterVisitor(UnitEmitter& ue);
~EmitterVisitor();
bool visit(ConstructPtr c);