• jgruber's avatar
    [regexp] Add fast-path for global, callable replace · a8e30c0e
    jgruber authored
    This adds a fast-path for calls to RegExp.prototype[@@replace] for cases in
    which the given regexp is unmodified and global, and the given replace argument
    is callable.
    
    The fast-path implementation itself is almost identical to the original JS
    implementation except that it currently does not reuse result_array.
    
    SunSpider/unpack-code relies heavily on this codepath.
    
    BUG=v8:5339
    
    Review-Url: https://chromiumcodereview.appspot.com/2433923003
    Cr-Commit-Position: refs/heads/master@{#40504}
    a8e30c0e
Name
Last commit
Last update
..
runtime-array.cc Loading commit data...
runtime-atomics.cc Loading commit data...
runtime-classes.cc Loading commit data...
runtime-collections.cc Loading commit data...
runtime-compiler.cc Loading commit data...
runtime-date.cc Loading commit data...
runtime-debug.cc Loading commit data...
runtime-error.cc Loading commit data...
runtime-forin.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-futex.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-i18n.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-interpreter.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-liveedit.cc Loading commit data...
runtime-maths.cc Loading commit data...
runtime-module.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-operators.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-simd.cc Loading commit data...
runtime-strings.cc Loading commit data...
runtime-symbol.cc Loading commit data...
runtime-test.cc Loading commit data...
runtime-typedarray.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime-wasm.cc Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...