• jgruber's avatar
    [regexp] Port RegExp.prototype.exec to TurboFan · db99bdff
    jgruber authored
    This ports RegExp.prototype.exec to a TurboFan builtin.
    
    LastMatchInfo is now stored on the context in order to be able to access
    it from the stub.
    
    Unmodified RegExp instances go through a fast path of accessing the
    lastIndex property as an in-object field, while modified instances call
    into runtime for lastIndex loads and stores.
    
    Octane/regexp shows slight improvements (between 0 and 5%) with this CL.
    
    BUG=v8:5339
    
    Review-Url: https://codereview.chromium.org/2375953002
    Cr-Commit-Position: refs/heads/master@{#39899}
    db99bdff
Name
Last commit
Last update
..
OWNERS Loading commit data...
array-iterator.js Loading commit data...
array.js Loading commit data...
arraybuffer.js Loading commit data...
async-await.js Loading commit data...
collection-iterator.js Loading commit data...
collection.js Loading commit data...
datetime-format-to-parts.js Loading commit data...
harmony-atomics.js Loading commit data...
harmony-simd.js Loading commit data...
harmony-string-padding.js Loading commit data...
i18n.js Loading commit data...
icu-case-mapping.js Loading commit data...
macros.py Loading commit data...
math.js Loading commit data...
messages.js Loading commit data...
prologue.js Loading commit data...
promise.js Loading commit data...
proxy.js Loading commit data...
regexp.js Loading commit data...
runtime.js Loading commit data...
spread.js Loading commit data...
string.js Loading commit data...
symbol.js Loading commit data...
templates.js Loading commit data...
typedarray.js Loading commit data...
v8natives.js Loading commit data...
weak-collection.js Loading commit data...