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: src/compiler/js-graph.h

Issue 2180373005: [turbofan] Add support for String.prototype.charCodeAt/charAt. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « src/compiler/js-builtin-reducer.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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* ToNumberBuiltinConstant(); 44 Node* ToNumberBuiltinConstant();
45 Node* CEntryStubConstant(int result_size); 45 Node* CEntryStubConstant(int result_size);
46 Node* EmptyFixedArrayConstant(); 46 Node* EmptyFixedArrayConstant();
47 Node* EmptyLiteralsArrayConstant(); 47 Node* EmptyLiteralsArrayConstant();
48 Node* EmptyStringConstant();
48 Node* HeapNumberMapConstant(); 49 Node* HeapNumberMapConstant();
49 Node* OptimizedOutConstant(); 50 Node* OptimizedOutConstant();
50 Node* StaleRegisterConstant(); 51 Node* StaleRegisterConstant();
51 Node* UndefinedConstant(); 52 Node* UndefinedConstant();
52 Node* TheHoleConstant(); 53 Node* TheHoleConstant();
53 Node* TrueConstant(); 54 Node* TrueConstant();
54 Node* FalseConstant(); 55 Node* FalseConstant();
55 Node* NullConstant(); 56 Node* NullConstant();
56 Node* ZeroConstant(); 57 Node* ZeroConstant();
57 Node* OneConstant(); 58 Node* OneConstant();
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 void GetCachedNodes(NodeVector* nodes); 145 void GetCachedNodes(NodeVector* nodes);
145 146
146 private: 147 private:
147 enum CachedNode { 148 enum CachedNode {
148 kAllocateInNewSpaceStubConstant, 149 kAllocateInNewSpaceStubConstant,
149 kAllocateInOldSpaceStubConstant, 150 kAllocateInOldSpaceStubConstant,
150 kToNumberBuiltinConstant, 151 kToNumberBuiltinConstant,
151 kCEntryStubConstant, 152 kCEntryStubConstant,
152 kEmptyFixedArrayConstant, 153 kEmptyFixedArrayConstant,
153 kEmptyLiteralsArrayConstant, 154 kEmptyLiteralsArrayConstant,
155 kEmptyStringConstant,
154 kHeapNumberMapConstant, 156 kHeapNumberMapConstant,
155 kOptimizedOutConstant, 157 kOptimizedOutConstant,
156 kStaleRegisterConstant, 158 kStaleRegisterConstant,
157 kUndefinedConstant, 159 kUndefinedConstant,
158 kTheHoleConstant, 160 kTheHoleConstant,
159 kTrueConstant, 161 kTrueConstant,
160 kFalseConstant, 162 kFalseConstant,
161 kNullConstant, 163 kNullConstant,
162 kZeroConstant, 164 kZeroConstant,
163 kOneConstant, 165 kOneConstant,
(...skipping 15 matching lines...) Expand all
179 Node* NumberConstant(double value); 181 Node* NumberConstant(double value);
180 182
181 DISALLOW_COPY_AND_ASSIGN(JSGraph); 183 DISALLOW_COPY_AND_ASSIGN(JSGraph);
182 }; 184 };
183 185
184 } // namespace compiler 186 } // namespace compiler
185 } // namespace internal 187 } // namespace internal
186 } // namespace v8 188 } // namespace v8
187 189
188 #endif 190 #endif
OLDNEW
« no previous file with comments | « src/compiler/js-builtin-reducer.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698