Try to fix the SL build.
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Oct 2011 07:34:08 +0000 (07:34 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Oct 2011 07:34:08 +0000 (07:34 +0000)
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry): Cast
away int vs unisgned warning.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@98201 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp

index bfde0b9..cd31ac6 100644 (file)
@@ -1,3 +1,11 @@
+2011-10-23  Geoffrey Garen  <ggaren@apple.com>
+
+        Try to fix the SL build.
+
+        * dfg/DFGByteCodeParser.cpp:
+        (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry): Cast
+        away int vs unisgned warning.
+
 2011-10-21  Geoffrey Garen  <ggaren@apple.com>
 
         Separated string lifetime bits from character buffer state bits
index d415e7f..9e83edc 100644 (file)
@@ -2334,7 +2334,7 @@ ByteCodeParser::InlineStackEntry::InlineStackEntry(ByteCodeParser* byteCodeParse
     }
     
     for (size_t i = 0; i < m_constantRemap.size(); ++i)
-        ASSERT(m_constantRemap[i] >= FirstConstantRegisterIndex);
+        ASSERT(m_constantRemap[i] >= static_cast<unsigned>(FirstConstantRegisterIndex));
     
     byteCodeParser->m_inlineStackTop = this;
 }