LCOV - code coverage report
Current view: top level - src/interpreter - bytecode-source-info.cc (source / functions) Hit Total Coverage
Test: app.info Lines: 1 6 16.7 %
Date: 2019-04-17 Functions: 1 2 50.0 %

          Line data    Source code
       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           0 : std::ostream& operator<<(std::ostream& os, const BytecodeSourceInfo& info) {
      15           0 :   if (info.is_valid()) {
      16           0 :     char description = info.is_statement() ? 'S' : 'E';
      17           0 :     os << info.source_position() << ' ' << description << '>';
      18             :   }
      19           0 :   return os;
      20             : }
      21             : 
      22             : }  // namespace interpreter
      23             : }  // namespace internal
      24      121996 : }  // namespace v8

Generated by: LCOV version 1.10