5 #ifndef V8_DEBUG_DEBUG_TYPE_PROFILE_H_ 6 #define V8_DEBUG_DEBUG_TYPE_PROFILE_H_ 10 #include "src/debug/debug-interface.h" 11 #include "src/handles.h" 12 #include "src/objects.h" 23 : position(pos), types(std::move(t)) {}
25 std::vector<v8::internal::Handle<internal::String>> types;
31 std::vector<TypeProfileEntry> entries;
36 static std::unique_ptr<TypeProfile> Collect(
Isolate* isolate);
37 static void SelectMode(
Isolate* isolate, debug::TypeProfile::Mode mode);
46 #endif // V8_DEBUG_DEBUG_TYPE_PROFILE_H_