From: loislo@chromium.org Date: Fri, 15 Oct 2010 09:04:22 +0000 (+0000) Subject: 2010-10-15 Ilya Tikhonovsky X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=bc61c9d1f75d54042c4abbb74ba74f007cf77427 2010-10-15 Ilya Tikhonovsky Unreviewed build fix for Debug Leopard which is failng to compile after r69842. * yarr/RegexInterpreter.cpp: (JSC::Yarr::ByteCompiler::emitDisjunction): git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69847 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog index 3c4a9d6209bb..e599151d2e65 100644 --- a/JavaScriptCore/ChangeLog +++ b/JavaScriptCore/ChangeLog @@ -1,3 +1,10 @@ +2010-10-15 Ilya Tikhonovsky + + Unreviewed build fix for Debug Leopard which is failng to compile after r69842. + + * yarr/RegexInterpreter.cpp: + (JSC::Yarr::ByteCompiler::emitDisjunction): + 2010-10-15 Peter Varga Reviewed by Gavin Barraclough. diff --git a/JavaScriptCore/yarr/RegexInterpreter.cpp b/JavaScriptCore/yarr/RegexInterpreter.cpp index 9d26a3cf4572..33f3c89220e5 100644 --- a/JavaScriptCore/yarr/RegexInterpreter.cpp +++ b/JavaScriptCore/yarr/RegexInterpreter.cpp @@ -1604,7 +1604,7 @@ public: case PatternTerm::TypeParentheticalAssertion: { unsigned alternativeFrameLocation = term.frameLocation + RegexStackSpaceForBackTrackInfoParentheticalAssertion; - ASSERT(currentCountAlreadyChecked >= term.inputPosition); + ASSERT(currentCountAlreadyChecked >= (unsigned)term.inputPosition); int positiveInputOffset = currentCountAlreadyChecked - term.inputPosition; atomParentheticalAssertionBegin(term.parentheses.subpatternId, term.invertOrCapture, term.frameLocation, alternativeFrameLocation);