From 9ad61f635e33fd1e1ce8b3a8c2d1c18479e0a53c Mon Sep 17 00:00:00 2001 From: "vegorov@chromium.org" Date: Fri, 9 Mar 2012 12:34:42 +0000 Subject: [PATCH] Add Code-related fields to postmortem metadata Review URL: https://chromiumcodereview.appspot.com/9361008 Patch from David Pacheco . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10986 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- tools/gen-postmortem-metadata.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/gen-postmortem-metadata.py b/tools/gen-postmortem-metadata.py index 4aa8f5d5e5..b9b162548f 100644 --- a/tools/gen-postmortem-metadata.py +++ b/tools/gen-postmortem-metadata.py @@ -115,6 +115,9 @@ extras_accessors = [ 'ConsString, second, String, kSecondOffset', 'ExternalString, resource, Object, kResourceOffset', 'SeqAsciiString, chars, char, kHeaderSize', + 'SharedFunctionInfo, code, Code, kCodeOffset', + 'Code, instruction_start, uintptr_t, kHeaderSize', + 'Code, instruction_size, int, kInstructionSizeOffset', ]; #