summaryrefslogtreecommitdiffstats
path: root/microbe/instruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'microbe/instruction.cpp')
-rw-r--r--microbe/instruction.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/microbe/instruction.cpp b/microbe/instruction.cpp
index b05423c..5e41fc8 100644
--- a/microbe/instruction.cpp
+++ b/microbe/instruction.cpp
@@ -780,7 +780,7 @@ uchar & RegisterDepends::reg( const Register & reg )
return status;
// If we don't already have the register, we need to reset it first
- if ( !m_registers.tqcontains( reg.name() ) )
+ if ( !m_registers.contains( reg.name() ) )
m_registers[ reg ] = 0xff;
return m_registers[ reg ];
@@ -905,7 +905,7 @@ Instruction * Code::instruction( const TQString & label ) const
InstructionList::const_iterator end = m_instructionLists[i].end();
for ( InstructionList::const_iterator it = m_instructionLists[i].begin(); it != end; ++it )
{
- if ( (*it)->labels().tqcontains( label ) )
+ if ( (*it)->labels().contains( label ) )
return *it;
}
}
@@ -913,7 +913,7 @@ Instruction * Code::instruction( const TQString & label ) const
}
-Code::iterator Code::tqfind( Instruction * instruction )
+Code::iterator Code::find( Instruction * instruction )
{
iterator e = end();
iterator i = begin();
@@ -1020,7 +1020,7 @@ TQStringList Code::findVariables() const
continue;
TQString alias = (*i)->file().name();
- if ( !variables.tqcontains( alias ) )
+ if ( !variables.contains( alias ) )
variables << alias;
}
@@ -1304,7 +1304,7 @@ void Instruction::makeLabelOutputLink( const TQString & label )
void Instruction::addInputLink( Instruction * instruction )
{
// Don't forget that a link to ourself is valid!
- if ( !instruction || m_inputLinks.tqcontains( instruction ) )
+ if ( !instruction || m_inputLinks.contains( instruction ) )
return;
m_inputLinks << instruction;
@@ -1315,7 +1315,7 @@ void Instruction::addInputLink( Instruction * instruction )
void Instruction::addOutputLink( Instruction * instruction )
{
// Don't forget that a link to ourself is valid!
- if ( !instruction || m_outputLinks.tqcontains( instruction ) )
+ if ( !instruction || m_outputLinks.contains( instruction ) )
return;
m_outputLinks << instruction;
@@ -2035,7 +2035,7 @@ void Instr_call::linkReturns( Instruction * current, Instruction * returnPoint )
{
// Jump over the call instruction to its return point,
// which will be the instruction after current.
- current = *(++m_pCode->tqfind( current ));
+ current = *(++m_pCode->find( current ));
continue;
}