Changeset 27847 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Nov 16, 2007, 2:49:40 AM (18 years ago)
Author:
[email protected]
Message:

Fix Windows debug build.
Rubber-stamped by Eric

  • pcre/pcre_exec.cpp: (match): Removed ASSERT_NOT_REACHED assertions that were making MSVC complain about unreachable code.
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r27846 r27847  
     12007-11-16  Alexey Proskuryakov  <[email protected]>
     2
     3        Fix Windows debug build.
     4        Rubber-stamped by Eric
     5
     6        * pcre/pcre_exec.cpp: (match): Removed ASSERT_NOT_REACHED assertions that were making MSVC
     7        complain about unreachable code.
     8
    192007-11-15  Mark Rowe  <[email protected]>
    210
  • trunk/JavaScriptCore/pcre/pcre_exec.cpp

    r27830 r27847  
    930930                        stack.currentFrame->eptr += stack.currentFrame->length;
    931931                    }
    932                     ASSERT_NOT_REACHED();
     932                    /* Control never reaches here */
    933933                }
    934934               
     
    950950                    RRETURN_NO_MATCH;
    951951                }
    952                 ASSERT_NOT_REACHED();
     952                /* Control never reaches here */
    953953               
    954954                /* Match a bit-mapped character class, possibly repeatedly. This op code is
     
    10391039                        }
    10401040                    }
    1041                     ASSERT_NOT_REACHED();
     1041                    /* Control never reaches here */
    10421042                }
    10431043                /* If maximizing, find the longest possible run, then work backwards. */
     
    10701070                    RRETURN;
    10711071                }
    1072                 ASSERT_NOT_REACHED();
     1072                /* Control never reaches here */
    10731073               
    10741074                /* Match an extended character class. This opcode is encountered only
     
    11381138                            RRETURN;
    11391139                    }
    1140                     ASSERT_NOT_REACHED();
     1140                    /* Control never reaches here */
    11411141                }
    11421142               
     
    11651165                }
    11661166               
    1167                 ASSERT_NOT_REACHED();
     1167                /* Control never reaches here */
    11681168               
    11691169                /* Match a single character, casefully */
     
    13091309                            ++stack.currentFrame->eptr;
    13101310                        }
    1311                         ASSERT_NOT_REACHED();
     1311                        /* Control never reaches here */
    13121312                    } else {
    13131313                        stack.currentFrame->pp = stack.currentFrame->eptr;
     
    13271327                        RRETURN_NO_MATCH;
    13281328                    }
    1329                     ASSERT_NOT_REACHED();
     1329                    /* Control never reaches here */
    13301330                } else {
    13311331                    /* No case on surrogate pairs, so no need to bother with "othercase". */
     
    13551355                            stack.currentFrame->eptr += 2;
    13561356                        }
    1357                         ASSERT_NOT_REACHED();
     1357                        /* Control never reaches here */
    13581358                    } else {
    13591359                        stack.currentFrame->pp = stack.currentFrame->eptr;
     
    13751375                        RRETURN_NO_MATCH;
    13761376                    }
    1377                     ASSERT_NOT_REACHED();
    1378                 }
    1379                 ASSERT_NOT_REACHED();
     1377                    /* Control never reaches here */
     1378                }
     1379                /* Control never reaches here */
    13801380               
    13811381                /* Match a negated single one-byte character. The character we are
     
    14801480                                RRETURN;
    14811481                        }
    1482                         ASSERT_NOT_REACHED();
     1482                        /* Control never reaches here */
    14831483                    }
    14841484                   
     
    15131513                        RRETURN;
    15141514                    }
    1515                     ASSERT_NOT_REACHED();
     1515                    /* Control never reaches here */
    15161516                }
    15171517               
     
    15411541                                RRETURN;
    15421542                        }
    1543                         ASSERT_NOT_REACHED();
     1543                        /* Control never reaches here */
    15441544                    }
    15451545                   
     
    15731573                    }
    15741574                }
    1575                 ASSERT_NOT_REACHED();
     1575                /* Control never reaches here */
    15761576               
    15771577                /* Match a single character type repeatedly; several different opcodes
     
    17531753                        }
    17541754                    }
    1755                     ASSERT_NOT_REACHED();
     1755                    /* Control never reaches here */
    17561756                }
    17571757               
     
    18831883                    RRETURN;
    18841884                }
    1885                 ASSERT_NOT_REACHED();
     1885                /* Control never reaches here */
    18861886               
    18871887                BEGIN_OPCODE(CRMINPLUS):
Note: See TracChangeset for help on using the changeset viewer.