removed unnecessary casts to int32 in ICodeGenerator::setLabel() which were generating warnings.
git-svn-id: svn://10.0.0.236/trunk@67727 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -279,13 +279,13 @@ namespace ICG {
|
||||
void ICodeGenerator::setLabel(Label *l)
|
||||
{
|
||||
l->mBase = iCode;
|
||||
l->mOffset = static_cast<int32>(iCode->size());
|
||||
l->mOffset = iCode->size();
|
||||
}
|
||||
|
||||
void ICodeGenerator::setLabel(InstructionStream *stream, Label *l)
|
||||
{
|
||||
l->mBase = stream;
|
||||
l->mOffset = static_cast<int32>(stream->size());
|
||||
l->mOffset = stream->size();
|
||||
}
|
||||
|
||||
/********************************************************************/
|
||||
|
||||
@@ -279,13 +279,13 @@ namespace ICG {
|
||||
void ICodeGenerator::setLabel(Label *l)
|
||||
{
|
||||
l->mBase = iCode;
|
||||
l->mOffset = static_cast<int32>(iCode->size());
|
||||
l->mOffset = iCode->size();
|
||||
}
|
||||
|
||||
void ICodeGenerator::setLabel(InstructionStream *stream, Label *l)
|
||||
{
|
||||
l->mBase = stream;
|
||||
l->mOffset = static_cast<int32>(stream->size());
|
||||
l->mOffset = stream->size();
|
||||
}
|
||||
|
||||
/********************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user