V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
c
d
g
i
k
n
p
r
s
t
Functions
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
a
c
d
e
h
k
l
n
o
s
Typedefs
Enumerations
+
Files
File List
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
visitors.cc
1
// Copyright 2017 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 "src/visitors.h"
6
7
#include "src/objects/code.h"
8
9
namespace
v8
{
10
namespace
internal {
11
12
const
char
* RootVisitor::RootName(Root root) {
13
switch
(root) {
14
#define ROOT_CASE(root_id, description) \
15
case Root::root_id: \
16
return description;
17
ROOT_ID_LIST(ROOT_CASE)
18
#undef ROOT_CASE
19
case
Root::kNumberOfRoots:
20
break
;
21
}
22
UNREACHABLE();
23
return
nullptr
;
24
}
25
26
}
// namespace internal
27
}
// namespace v8
v8
Definition:
libplatform.h:13
v8
src
visitors.cc
Generated on Tue Dec 25 2018 14:39:57 by
1.8.14