deps: backport 357e6b9 from V8's upstream
authorJulien Gilli <julien.gilli@joyent.com>
Mon, 21 Sep 2015 04:39:37 +0000 (21:39 -0700)
committerRod Vagg <rod@vagg.org>
Tue, 22 Sep 2015 06:31:39 +0000 (16:31 +1000)
commitb93ad5abbdaa1af49453d6aee18968f44c50e07c
tree66e1713025985bcc9405756265acdd5ba4caa820
parent9c59d2f16ad37dfc0a8b85a06cf4c117ebf5a690
deps: backport 357e6b9 from V8's upstream

Backport 357e6b99ee3927cc075dd8d27c99b89d858f9dd5 from V8's upstream.

Original commit message:

  Add ScopeInfo constants to post-mortem metadata

  mdb_v8, a post-mortem debugging tool for Node.js, allows users to
  inspect ScopeInfo structures in order to get more information about
  closures.

  Currently, it hardcodes the metadata it uses to find this information.
  This change allows it to get this metadata from the node binary itself,
  and thus to adapt to future changes made to the layout of the ScopeInfo
  data structure.

  BUG=

  R=bmeurer@chromium.org

PR: #2974
PR-URL: https://github.com/nodejs/node/pull/2974
Reviewed-By: Rod Vagg <r@va.gg>
Reviewed-By: Ben Noordhuis <ben@strongloop.com>
deps/v8/src/objects.h
deps/v8/tools/gen-postmortem-metadata.py