���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /home/real/node-v13.0.1/deps/v8/src/compiler/ |
// Copyright 2014 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_COMPILER_VERIFIER_H_ #define V8_COMPILER_VERIFIER_H_ #include "src/base/macros.h" #include "src/common/globals.h" namespace v8 { namespace internal { namespace compiler { class Graph; class Edge; class Node; class Schedule; // Verifies properties of a graph, such as the well-formedness of inputs to // each node, etc. class Verifier { public: enum Typing { TYPED, UNTYPED }; enum CheckInputs { kValuesOnly, kAll }; enum CodeType { kDefault, kWasm }; static void Run(Graph* graph, Typing typing = TYPED, CheckInputs check_inputs = kAll, CodeType code_type = kDefault); #ifdef DEBUG // Verifies consistency of node inputs and uses: // - node inputs should agree with the input count computed from // the node's operator. // - effect inputs should have effect outputs. // - control inputs should have control outputs. // - frame state inputs should be frame states. // - if the node has control uses, it should produce control. // - if the node has effect uses, it should produce effect. // - if the node has frame state uses, it must be a frame state. static void VerifyNode(Node* node); // Verify that {replacement} has the required outputs // (effect, control or frame state) to be used as an input for {edge}. static void VerifyEdgeInputReplacement(const Edge& edge, const Node* replacement); #else static void VerifyNode(Node* node) {} static void VerifyEdgeInputReplacement(const Edge& edge, const Node* replacement) {} #endif // DEBUG private: class Visitor; DISALLOW_COPY_AND_ASSIGN(Verifier); }; // Verifies properties of a schedule, such as dominance, phi placement, etc. class V8_EXPORT_PRIVATE ScheduleVerifier { public: static void Run(Schedule* schedule); }; } // namespace compiler } // namespace internal } // namespace v8 #endif // V8_COMPILER_VERIFIER_H_