Changeset 112460 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Mar 28, 2012, 3:43:04 PM (13 years ago)
Author:
[email protected]
Message:

Build fix - some compiles generating NORETURN related warnings.

  • yarr/YarrJIT.cpp:

(JSC::Yarr::YarrGenerator::setSubpatternStart):
(JSC::Yarr::YarrGenerator::setSubpatternEnd):
(JSC::Yarr::YarrGenerator::clearSubpatternStart):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r112456 r112460  
     12012-03-28  Gavin Barraclough  <[email protected]>
     2
     3        Build fix - some compiles generating NORETURN related warnings.
     4
     5        * yarr/YarrJIT.cpp:
     6        (JSC::Yarr::YarrGenerator::setSubpatternStart):
     7        (JSC::Yarr::YarrGenerator::setSubpatternEnd):
     8        (JSC::Yarr::YarrGenerator::clearSubpatternStart):
     9
    1102012-03-28  Kevin Ollivier  <[email protected]>
    211
  • trunk/Source/JavaScriptCore/yarr/YarrJIT.cpp

    r112454 r112460  
    329329    {
    330330        ASSERT(subpattern);
    331         ASSERT(compileMode == IncludeSubpatterns);
     331        // FIXME: should be able to ASSERT(compileMode == IncludeSubpatterns), but then this function is conditionally NORETURN. :-(
    332332        store32(reg, Address(output, (subpattern << 1) * sizeof(int)));
    333333    }
     
    335335    {
    336336        ASSERT(subpattern);
    337         ASSERT(compileMode == IncludeSubpatterns);
     337        // FIXME: should be able to ASSERT(compileMode == IncludeSubpatterns), but then this function is conditionally NORETURN. :-(
    338338        store32(reg, Address(output, ((subpattern << 1) + 1) * sizeof(int)));
    339339    }
     
    341341    {
    342342        ASSERT(subpattern);
    343         ASSERT(compileMode == IncludeSubpatterns);
     343        // FIXME: should be able to ASSERT(compileMode == IncludeSubpatterns), but then this function is conditionally NORETURN. :-(
    344344        store32(TrustedImm32(-1), Address(output, (subpattern << 1) * sizeof(int)));
    345345    }
Note: See TracChangeset for help on using the changeset viewer.