Upgrade V8 to 8.8.278.14
Bug: 162604069
Bug: 167389063
Test: gts-tradefed run gts-dev --module GtsGmscoreHostTestCases
--test com.google.android.gts.devicepolicy.DeviceOwnerTest#testProxyPacProxyTest
Test: m -j proxy_resolver_v8_unittest && adb sync && adb shell \
/data/nativetest/proxy_resolver_v8_unittest/proxy_resolver_v8_unittest
Merged-In: Ifb09923b9d7f6d8990fb062d7dc0294edf2c098e
Change-Id: Ifb09923b9d7f6d8990fb062d7dc0294edf2c098e
(cherry picked from commit 9580a23bc5b8874a0979001d3595d027cbb68128)
diff --git a/src/heap/cppgc/gc-info.cc b/src/heap/cppgc/gc-info.cc
new file mode 100644
index 0000000..57d49fb
--- /dev/null
+++ b/src/heap/cppgc/gc-info.cc
@@ -0,0 +1,20 @@
+// Copyright 2020 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "include/cppgc/internal/gc-info.h"
+#include "include/v8config.h"
+#include "src/heap/cppgc/gc-info-table.h"
+
+namespace cppgc {
+namespace internal {
+
+RegisteredGCInfoIndex::RegisteredGCInfoIndex(
+ FinalizationCallback finalization_callback, TraceCallback trace_callback,
+ NameCallback name_callback, bool has_v_table)
+ : index_(GlobalGCInfoTable::GetMutable().RegisterNewGCInfo(
+ {finalization_callback, trace_callback, name_callback,
+ has_v_table})) {}
+
+} // namespace internal
+} // namespace cppgc