Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: test/unittests/compiler/graph-unittest.h

Issue 1160863003: [turbofan] Remove the JSGraph dependency from the ControlFlowOptimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ 5 #ifndef V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_
6 #define V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ 6 #define V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph.h" 9 #include "src/compiler/graph.h"
10 #include "src/compiler/typer.h" 10 #include "src/compiler/typer.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 return Int32Constant(bit_cast<int32_t>(value)); 43 return Int32Constant(bit_cast<int32_t>(value));
44 } 44 }
45 Node* Int64Constant(int64_t value); 45 Node* Int64Constant(int64_t value);
46 Node* NumberConstant(volatile double value); 46 Node* NumberConstant(volatile double value);
47 Node* HeapConstant(const Handle<HeapObject>& value); 47 Node* HeapConstant(const Handle<HeapObject>& value);
48 Node* HeapConstant(const Unique<HeapObject>& value); 48 Node* HeapConstant(const Unique<HeapObject>& value);
49 Node* FalseConstant(); 49 Node* FalseConstant();
50 Node* TrueConstant(); 50 Node* TrueConstant();
51 Node* UndefinedConstant(); 51 Node* UndefinedConstant();
52 52
53 Node* EmptyFrameState();
54
53 Matcher<Node*> IsFalseConstant(); 55 Matcher<Node*> IsFalseConstant();
54 Matcher<Node*> IsTrueConstant(); 56 Matcher<Node*> IsTrueConstant();
55 Matcher<Node*> IsUndefinedConstant(); 57 Matcher<Node*> IsUndefinedConstant();
56 58
57 CommonOperatorBuilder* common() { return &common_; } 59 CommonOperatorBuilder* common() { return &common_; }
58 Graph* graph() { return &graph_; } 60 Graph* graph() { return &graph_; }
59 61
60 private: 62 private:
61 CommonOperatorBuilder common_; 63 CommonOperatorBuilder common_;
62 Graph graph_; 64 Graph graph_;
(...skipping 13 matching lines...) Expand all
76 78
77 private: 79 private:
78 Typer typer_; 80 Typer typer_;
79 }; 81 };
80 82
81 } // namespace compiler 83 } // namespace compiler
82 } // namespace internal 84 } // namespace internal
83 } // namespace v8 85 } // namespace v8
84 86
85 #endif // V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ 87 #endif // V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/control-flow-optimizer-unittest.cc ('k') | test/unittests/compiler/graph-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698