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:
beard%netscape.com
2000-05-01 17:11:36 +00:00
parent 2475eb57ac
commit 3ba81bd192
2 changed files with 4 additions and 4 deletions

View File

@@ -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();
}
/********************************************************************/

View File

@@ -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();
}
/********************************************************************/