v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
bytecode-source-info.cc
Go to the documentation of this file.
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
9
namespace
v8
{
10
namespace
internal
{
11
namespace
interpreter {
12
13
std::ostream&
operator<<
(std::ostream& os,
const
BytecodeSourceInfo
& info) {
14
if
(info.is_valid()) {
15
char
description = info.is_statement() ?
'S'
:
'E'
;
16
os << info.source_position() <<
' '
<< description <<
'>'
;
17
}
18
return
os;
19
}
20
21
}
// namespace interpreter
22
}
// namespace internal
23
}
// namespace v8
bytecode-source-info.h
v8::internal::interpreter::BytecodeSourceInfo
Definition
bytecode-source-info.h:15
v8::internal::compiler::turboshaft::operator<<
std::ostream & operator<<(std::ostream &os, PaddingSpace padding)
Definition
copying-phase.cc:18
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
src
interpreter
bytecode-source-info.cc
Generated on Sun Apr 6 2025 21:08:54 for v8 by
1.12.0