• Jakob Gruber's avatar
    Revert "Add counter to track `Date::getTimezoneOffset()`." · 054f5f69
    Jakob Gruber authored
    This reverts commit 14ebea15.
    
    Reason for revert: CountUsage() can't be called without a C entry frame.
    
    Note this counter was never hooked up in chromium. Besides removing the
    problematic CountUsage() call, this CL also makes the call path more
    robust against similar future issues by adding {gc,handle,js} disallow
    scopes.
    
    Original change's description:
    > Add counter to track `Date::getTimezoneOffset()`.
    >
    > Bug: chromium:915620
    > Change-Id: I75579080098632639b125b2252b3ab9615c7ea95
    > Reviewed-on: https://chromium-review.googlesource.com/c/1379876
    > Reviewed-by: Yang Guo <yangguo@chromium.org>
    > Commit-Queue: Mike West <mkwst@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#58306}
    
    TBR=yangguo@chromium.org,mkwst@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Tbr: ulan@chromium.org
    Bug: chromium:915620,v8:10460
    Change-Id: I2dd2e14947fe527de24ea644b4b33897f437a119
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2165790
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#67399}
    054f5f69
js-objects.cc 226 KB