• jgruber's avatar
    [regexp] Fix fallback path in RegExpExec · e89eef30
    jgruber authored
    This fixes the code-path in RegExpExec in which both the passed exec
    argument and regexp.exec are not callable and regexp is a JSRegExp.
    
    In this case, we fall back to the default RegExp.prototype.exec
    implementation. The arguments for Execution::call were incorrect.
    
    BUG=v8:5339
    
    Review-Url: https://codereview.chromium.org/2415073002
    Cr-Commit-Position: refs/heads/master@{#40249}
    e89eef30
regexp-regexpexec.js 332 Bytes