// 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. #ifndef V8_DEBUG_DEBUG_TYPE_PROFILE_H_ #define V8_DEBUG_DEBUG_TYPE_PROFILE_H_ #include #include "src/debug/debug-interface.h" #include "src/objects.h" namespace v8 { namespace internal { // Forward declaration. class Isolate; struct TypeProfileEntry { explicit TypeProfileEntry( int pos, std::vector> t) : position(pos), types(std::move(t)) {} int position; std::vector> types; }; struct TypeProfileScript { explicit TypeProfileScript(Handle