From 4688f711c99eceecb6b7c822f3192074e6685987 Mon Sep 17 00:00:00 2001
From: cjihrig <cjihrig@gmail.com>
Date: Mon, 14 Oct 2019 20:29:43 -0400
Subject: [PATCH] test: update test-postmortem-metadata.js

The following metadata has changed:

- v8dbg_class_UncompiledData__inferred_name__String
  - Implementation was moved to Torque and required
    update to gen-postmortem-metadata.py.
  - Refs: https://github.com/v8/v8/commit/e4e86b53cfd028107f6d5e2c0df10d08e690da88

- v8dbg_class_SharedFunctionInfo__script_or_debug_info__Object
  - Renamed to v8dbg_class_SharedFunctionInfo__script_or_debug_info__HeapObject
  - Refs: https://github.com/v8/v8/commit/07fc96c0a8db2f513a5f439d69ca083c3dad0ccd

- v8dbg_type_JSRegExp__JS_REGEXP_TYPE
  - Renamed to v8dbg_type_JSRegExp__JS_REG_EXP_TYPE.
  - Refs: https://github.com/v8/v8/commit/61815a22bdfe94f432bf787831eafcaffedb73ef
---
 test/v8-updates/test-postmortem-metadata.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/v8-updates/test-postmortem-metadata.js b/test/v8-updates/test-postmortem-metadata.js
index 4a0667a97f9..0891e62251d 100644
--- a/test/v8-updates/test-postmortem-metadata.js
+++ b/test/v8-updates/test-postmortem-metadata.js
@@ -102,7 +102,7 @@ function getExpectedSymbols() {
     'v8dbg_class_UncompiledData__inferred_name__String',
     'v8dbg_class_SharedFunctionInfo__internal_formal_parameter_count__uint16_t',
     'v8dbg_class_SharedFunctionInfo__name_or_scope_info__Object',
-    'v8dbg_class_SharedFunctionInfo__script_or_debug_info__Object',
+    'v8dbg_class_SharedFunctionInfo__script_or_debug_info__HeapObject',
     'v8dbg_class_UncompiledData__start_position__int32_t',
     'v8dbg_class_SlicedString__offset_offset__int',
     'v8dbg_class_SlicedString__parent__String',
@@ -162,7 +162,7 @@ function getExpectedSymbols() {
     'v8dbg_type_JSGlobalObject__JS_GLOBAL_OBJECT_TYPE',
     'v8dbg_type_JSGlobalProxy__JS_GLOBAL_PROXY_TYPE',
     'v8dbg_type_JSObject__JS_OBJECT_TYPE',
-    'v8dbg_type_JSRegExp__JS_REGEXP_TYPE',
+    'v8dbg_type_JSRegExp__JS_REG_EXP_TYPE',
     'v8dbg_type_JSTypedArray__JS_TYPED_ARRAY_TYPE',
     'v8dbg_type_Map__MAP_TYPE',
     'v8dbg_type_Oddball__ODDBALL_TYPE',