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

Side by Side Diff: src/compiler/js-graph.h

Issue 1957393004: Allow Turbofan optimization of Ignition generators (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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_COMPILER_JS_GRAPH_H_ 5 #ifndef V8_COMPILER_JS_GRAPH_H_
6 #define V8_COMPILER_JS_GRAPH_H_ 6 #define V8_COMPILER_JS_GRAPH_H_
7 7
8 #include "src/compiler/common-node-cache.h" 8 #include "src/compiler/common-node-cache.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 27 matching lines...) Expand all
38 for (int i = 0; i < kNumCachedNodes; i++) cached_nodes_[i] = nullptr; 38 for (int i = 0; i < kNumCachedNodes; i++) cached_nodes_[i] = nullptr;
39 } 39 }
40 40
41 // Canonicalized global constants. 41 // Canonicalized global constants.
42 Node* AllocateInNewSpaceStubConstant(); 42 Node* AllocateInNewSpaceStubConstant();
43 Node* AllocateInOldSpaceStubConstant(); 43 Node* AllocateInOldSpaceStubConstant();
44 Node* CEntryStubConstant(int result_size); 44 Node* CEntryStubConstant(int result_size);
45 Node* EmptyFixedArrayConstant(); 45 Node* EmptyFixedArrayConstant();
46 Node* HeapNumberMapConstant(); 46 Node* HeapNumberMapConstant();
47 Node* OptimizedOutConstant(); 47 Node* OptimizedOutConstant();
48 Node* StaleRegisterConstant();
48 Node* UndefinedConstant(); 49 Node* UndefinedConstant();
49 Node* TheHoleConstant(); 50 Node* TheHoleConstant();
50 Node* TrueConstant(); 51 Node* TrueConstant();
51 Node* FalseConstant(); 52 Node* FalseConstant();
52 Node* NullConstant(); 53 Node* NullConstant();
53 Node* ZeroConstant(); 54 Node* ZeroConstant();
54 Node* OneConstant(); 55 Node* OneConstant();
55 Node* NaNConstant(); 56 Node* NaNConstant();
56 57
57 // Creates a HeapConstant node, possibly canonicalized, and may access the 58 // Creates a HeapConstant node, possibly canonicalized, and may access the
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 void GetCachedNodes(NodeVector* nodes); 142 void GetCachedNodes(NodeVector* nodes);
142 143
143 private: 144 private:
144 enum CachedNode { 145 enum CachedNode {
145 kAllocateInNewSpaceStubConstant, 146 kAllocateInNewSpaceStubConstant,
146 kAllocateInOldSpaceStubConstant, 147 kAllocateInOldSpaceStubConstant,
147 kCEntryStubConstant, 148 kCEntryStubConstant,
148 kEmptyFixedArrayConstant, 149 kEmptyFixedArrayConstant,
149 kHeapNumberMapConstant, 150 kHeapNumberMapConstant,
150 kOptimizedOutConstant, 151 kOptimizedOutConstant,
152 kStaleRegisterConstant,
151 kUndefinedConstant, 153 kUndefinedConstant,
152 kTheHoleConstant, 154 kTheHoleConstant,
153 kTrueConstant, 155 kTrueConstant,
154 kFalseConstant, 156 kFalseConstant,
155 kNullConstant, 157 kNullConstant,
156 kZeroConstant, 158 kZeroConstant,
157 kOneConstant, 159 kOneConstant,
158 kNaNConstant, 160 kNaNConstant,
159 kEmptyFrameState, 161 kEmptyFrameState,
160 kDead, 162 kDead,
(...skipping 12 matching lines...) Expand all
173 Node* NumberConstant(double value); 175 Node* NumberConstant(double value);
174 176
175 DISALLOW_COPY_AND_ASSIGN(JSGraph); 177 DISALLOW_COPY_AND_ASSIGN(JSGraph);
176 }; 178 };
177 179
178 } // namespace compiler 180 } // namespace compiler
179 } // namespace internal 181 } // namespace internal
180 } // namespace v8 182 } // namespace v8
181 183
182 #endif 184 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698