• Igor Sheludko's avatar
    [runtime] Cleanup native methods creation in js/v8natives.js. · 36b33251
    Igor Sheludko authored
    This CL replaces usages of utils.InstallFunctions and utils.InstallGetter()
    with the DEFINE_METHOD* macros that ensure that the native function is
    created in proper form from the beginning. Thus the function will not
    require further reconfiguring like adding a computed name or removing of
    'prototype' property.
    
    This CL is one of a series of cleanup CL which are the preliminary steps for
    improving function closures creation.
    
    Bug: v8:6459
    Change-Id: Iebee37861fbe026b421aeac19dc838302a9e106d
    Reviewed-on: https://chromium-review.googlesource.com/548136
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46284}
    36b33251
v8natives.js 2.04 KB