LCOV - code coverage report
Current view: top level - src - visitors.cc (source / functions) Hit Total Coverage
Test: app.info Lines: 3 3 100.0 %
Date: 2017-10-20 Functions: 1 1 100.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/visitors.h"
       6             : 
       7             : #include "src/objects/code.h"
       8             : 
       9             : namespace v8 {
      10             : namespace internal {
      11             : 
      12             : #define DECLARE_TAG(ignore1, name, ignore2) name,
      13             : const char* const
      14             :     VisitorSynchronization::kTags[VisitorSynchronization::kNumberOfSyncTags] = {
      15             :         ROOT_ID_LIST(DECLARE_TAG)};
      16             : #undef DECLARE_TAG
      17             : 
      18             : #define DECLARE_TAG(ignore1, ignore2, name) name,
      19             : const char* const VisitorSynchronization::kTagNames
      20             :     [VisitorSynchronization::kNumberOfSyncTags] = {ROOT_ID_LIST(DECLARE_TAG)};
      21             : #undef DECLARE_TAG
      22             : 
      23     1801793 : void ObjectVisitor::VisitNextCodeLink(Code* host, Object** p) {
      24     1801793 :   VisitPointers(host, p, p + 1);
      25     1801793 : }
      26             : 
      27             : }  // namespace internal
      28             : }  // namespace v8

Generated by: LCOV version 1.10