• bmeurer's avatar
    [stubs] Also handle properties of the JSBuiltinsObject in the fast case. · 6cf94ebd
    bmeurer authored
    We can apply the shortcut used for data properties of the JSGlobalObject
    to builtin properties as well. This mostly affects the custom properties
    we use for the Math functions (i.e. rngstate for Math.random() and kMath
    for sin, cos and friends).
    
    Drive-by-fix: Also mark the internal builtin typed arrays properties
    (rngstate, kMath and rempio2result) as READ_ONLY, as they should not be
    touched after genesis.
    
    R=yangguo@chromium.org
    
    Review URL: https://codereview.chromium.org/1254143003
    
    Cr-Commit-Position: refs/heads/master@{#29887}
    6cf94ebd
bootstrapper.cc 133 KB