Changeset 112460 in webkit for trunk/Source/JavaScriptCore/yarr


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):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.