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
bytecode-source-info.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/interpreter/bytecode-source-info.h"
6
7
#include <iomanip>
8
#include "src/source-position-table.h"
9
10
namespace
v8
{
11
namespace
internal {
12
namespace
interpreter {
13
14
std::ostream& operator<<(std::ostream& os,
const
BytecodeSourceInfo& info) {
15
if
(info.is_valid()) {
16
char
description = info.is_statement() ?
'S'
:
'E'
;
17
os << info.source_position() <<
' '
<< description << '>
';
18
}
19
return os;
20
}
21
22
} // namespace interpreter
23
} // namespace internal
24
} // namespace v8
v8
Definition:
libplatform.h:13
v8
src
interpreter
bytecode-source-info.cc
Generated on Tue Dec 25 2018 14:39:04 by
1.8.14