• Mathias Bynens's avatar
    [objects] Rename JSValue to JSPrimitiveWrapper · e428dfd7
    Mathias Bynens authored
    We currently use the class name “JSValue” for JSObjects that wrap
    primitive values. This name is a common source of confusion. This patch
    switches to a name that’s more clear.
    
    In addition to manual tweaks, the patch applies the following mechanical
    global replacements:
    
    before                          | after
    --------------------------------|--------------------------------------
    if_valueisnotvalue              | if_valueisnotwrapper
    if_valueisvalue                 | if_valueiswrapper
    js_value                        | js_primitive_wrapper
    JS_VALUE_TYPE                   | JS_PRIMITIVE_WRAPPER_TYPE
    JSPrimitiveWrapperType          | JSPrimitiveWrapper type
    jsvalue                         | js_primitive_wrapper
    JSValue                         | JSPrimitiveWrapper
    _GENERATED_JSVALUE_FIELDS       | _GENERATED_JSPRIMITIVE_WRAPPER_FIELDS
    
    Change-Id: I9d9edea784eab6067b013e1f781e4db2070f807c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1672942Reviewed-by: 's avatarTamer Tas <tmrts@chromium.org>
    Reviewed-by: 's avatarMichael Stanton <mvstanton@chromium.org>
    Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Mathias Bynens <mathias@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#62337}
    e428dfd7
Name
Last commit
Last update
..
OWNERS Loading commit data...
char-predicates-inl.h Loading commit data...
char-predicates.cc Loading commit data...
char-predicates.h Loading commit data...
string-builder-inl.h Loading commit data...
string-builder.cc Loading commit data...
string-case.cc Loading commit data...
string-case.h Loading commit data...
string-hasher-inl.h Loading commit data...
string-hasher.h Loading commit data...
string-search.h Loading commit data...
string-stream.cc Loading commit data...
string-stream.h Loading commit data...
unicode-decoder.cc Loading commit data...
unicode-decoder.h Loading commit data...
unicode-inl.h Loading commit data...
unicode.cc Loading commit data...
unicode.h Loading commit data...
uri.cc Loading commit data...
uri.h Loading commit data...