// Copyright 2022 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_COMMON_NODEOBSERVER_TESTER_H_ #define V8_COMMON_NODEOBSERVER_TESTER_H_ #include "src/compiler/node-observer.h" #include "src/compiler/simplified-operator.h" #include "src/objects/type-hints.h" namespace v8 { namespace internal { namespace compiler { // Helpers to test TurboFan compilation using the %ObserveNode intrinsic. struct ObserveNodeScope { … }; class CreationObserver : public NodeObserver { … }; class ModificationObserver : public NodeObserver { … }; } // namespace compiler } // namespace internal } // namespace v8 #endif // V8_COMMON_NODEOBSERVER_TESTER_H_