Sha256: 96efa2eb9f1488f88591d9c1b6adab26dea31127c2a0288068ae945763ab19ea

Contents?: true

Size: 652 Bytes

Versions: 5

Compression:

Stored size: 652 Bytes

Contents

// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/interpreter/bytecode-source-info.h"

#include <iomanip>
#include "src/source-position-table.h"

namespace v8 {
namespace internal {
namespace interpreter {

std::ostream& operator<<(std::ostream& os, const BytecodeSourceInfo& info) {
  if (info.is_valid()) {
    char description = info.is_statement() ? 'S' : 'E';
    os << info.source_position() << ' ' << description << '>';
  }
  return os;
}

}  // namespace interpreter
}  // namespace internal
}  // namespace v8

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
libv8-6.0.286.54.1 vendor/v8/src/interpreter/bytecode-source-info.cc
libv8-6.0.286.54.0 vendor/v8/src/interpreter/bytecode-source-info.cc
libv8-6.0.286.54.0beta2 vendor/v8/src/interpreter/bytecode-source-info.cc
libv8-6.0.286.54.0beta1 vendor/v8/src/interpreter/bytecode-source-info.cc
libv8-6.0.286.44.0beta1 vendor/v8/src/interpreter/bytecode-source-info.cc