// Copyright 2015 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. #ifndef V8_HEAP_OBJECT_STATS_H_ #define V8_HEAP_OBJECT_STATS_H_ #include "src/objects/code.h" #include "src/objects/objects.h" // These instance types do not exist for actual use but are merely introduced // for object stats tracing. In contrast to InstructionStream and FixedArray sub // types these types are not known to other counters outside of object stats // tracing. // // Update LAST_VIRTUAL_TYPE below when changing this macro. #define VIRTUAL_INSTANCE_TYPE_LIST(V) … namespace v8 { namespace internal { class Heap; class Isolate; class ObjectStats { … }; class ObjectStatsCollector { … }; } // namespace internal } // namespace v8 #endif // V8_HEAP_OBJECT_STATS_H_