Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / v8 / src / compiler / verifier.h
1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef V8_COMPILER_VERIFIER_H_
6 #define V8_COMPILER_VERIFIER_H_
7
8 #include "src/v8.h"
9
10 #include "src/compiler/graph.h"
11
12 namespace v8 {
13 namespace internal {
14 namespace compiler {
15
16 class Verifier {
17  public:
18   static void Run(Graph* graph);
19
20  private:
21   class Visitor;
22   DISALLOW_COPY_AND_ASSIGN(Verifier);
23 };
24 }
25 }
26 }  // namespace v8::internal::compiler
27
28 #endif  // V8_COMPILER_VERIFIER_H_