• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2020 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "include/cppgc/platform.h"
6 
7 #include "src/base/platform/platform.h"
8 #include "src/heap/cppgc/gc-info-table.h"
9 
10 namespace cppgc {
11 
InitializeProcess(PageAllocator * page_allocator)12 void InitializeProcess(PageAllocator* page_allocator) {
13   internal::GlobalGCInfoTable::Create(page_allocator);
14 }
15 
ShutdownProcess()16 void ShutdownProcess() {}
17 
18 namespace internal {
19 
Abort()20 void Abort() { v8::base::OS::Abort(); }
21 
22 }  // namespace internal
23 }  // namespace cppgc
24