• 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...
runtime-array.cc Loading commit data...
runtime-atomics.cc Loading commit data...
runtime-bigint.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-forin.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-futex.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-interpreter.cc Loading commit data...
runtime-intl.cc Loading commit data...
runtime-literals.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-promise.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.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-weak-refs.cc Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...