• 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
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
basic-block-profiler.cc Loading commit data...
basic-block-profiler.h Loading commit data...
code-tracer.h Loading commit data...
compilation-statistics.cc Loading commit data...
compilation-statistics.h Loading commit data...
crash-key-noop.cc Loading commit data...
crash-key.cc Loading commit data...
crash-key.h Loading commit data...
disasm.h Loading commit data...
disassembler.cc Loading commit data...
disassembler.h Loading commit data...
eh-frame.cc Loading commit data...
eh-frame.h Loading commit data...
gdb-jit.cc Loading commit data...
gdb-jit.h Loading commit data...
objects-debug.cc Loading commit data...
objects-printer.cc Loading commit data...
perf-jit.cc Loading commit data...
perf-jit.h Loading commit data...
unwinder.cc Loading commit data...
unwinding-info-win64.cc Loading commit data...
unwinding-info-win64.h Loading commit data...