• yurys's avatar
    Add NativeWeakMap to v8.h · a5593679
    yurys authored
    A new map wich references its keys weakly is added to v8.h. Internally it uses the same storage as JSWeakMap but doesn't depend on the JavaScript part of WeakMap implementation in weak-collection.js, hence it can be instantiated without entering any context.
    
    BUG=chromium:437416
    LOG=Y
    
    Review URL: https://codereview.chromium.org/900123003
    
    Cr-Commit-Position: refs/heads/master@{#26451}
    a5593679
api.cc 260 KB