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

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

Issue 2655853010: [TypeFeedbackVector] Combine the literals array and the feedback vector. (Closed)
Patch Set: more comments. Created 3 years, 10 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-create-lowering.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/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/compiler/common-node-cache.h" 9 #include "src/compiler/common-node-cache.h"
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 // Canonicalized global constants. 43 // Canonicalized global constants.
44 Node* AllocateInNewSpaceStubConstant(); 44 Node* AllocateInNewSpaceStubConstant();
45 Node* AllocateInOldSpaceStubConstant(); 45 Node* AllocateInOldSpaceStubConstant();
46 Node* ToNumberBuiltinConstant(); 46 Node* ToNumberBuiltinConstant();
47 Node* CEntryStubConstant(int result_size, 47 Node* CEntryStubConstant(int result_size,
48 SaveFPRegsMode save_doubles = kDontSaveFPRegs, 48 SaveFPRegsMode save_doubles = kDontSaveFPRegs,
49 ArgvMode argv_mode = kArgvOnStack, 49 ArgvMode argv_mode = kArgvOnStack,
50 bool builtin_exit_frame = false); 50 bool builtin_exit_frame = false);
51 Node* EmptyFixedArrayConstant(); 51 Node* EmptyFixedArrayConstant();
52 Node* EmptyLiteralsArrayConstant(); 52 Node* EmptyFeedbackVectorConstant();
53 Node* EmptyStringConstant(); 53 Node* EmptyStringConstant();
54 Node* FixedArrayMapConstant(); 54 Node* FixedArrayMapConstant();
55 Node* FixedDoubleArrayMapConstant(); 55 Node* FixedDoubleArrayMapConstant();
56 Node* HeapNumberMapConstant(); 56 Node* HeapNumberMapConstant();
57 Node* OptimizedOutConstant(); 57 Node* OptimizedOutConstant();
58 Node* StaleRegisterConstant(); 58 Node* StaleRegisterConstant();
59 Node* UndefinedConstant(); 59 Node* UndefinedConstant();
60 Node* TheHoleConstant(); 60 Node* TheHoleConstant();
61 Node* TrueConstant(); 61 Node* TrueConstant();
62 Node* FalseConstant(); 62 Node* FalseConstant();
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 private: 160 private:
161 enum CachedNode { 161 enum CachedNode {
162 kAllocateInNewSpaceStubConstant, 162 kAllocateInNewSpaceStubConstant,
163 kAllocateInOldSpaceStubConstant, 163 kAllocateInOldSpaceStubConstant,
164 kToNumberBuiltinConstant, 164 kToNumberBuiltinConstant,
165 kCEntryStub1Constant, 165 kCEntryStub1Constant,
166 kCEntryStub2Constant, 166 kCEntryStub2Constant,
167 kCEntryStub3Constant, 167 kCEntryStub3Constant,
168 kCEntryStub1WithBuiltinExitFrameConstant, 168 kCEntryStub1WithBuiltinExitFrameConstant,
169 kEmptyFixedArrayConstant, 169 kEmptyFixedArrayConstant,
170 kEmptyLiteralsArrayConstant, 170 kEmptyFeedbackVectorConstant,
171 kEmptyStringConstant, 171 kEmptyStringConstant,
172 kFixedArrayMapConstant, 172 kFixedArrayMapConstant,
173 kFixedDoubleArrayMapConstant, 173 kFixedDoubleArrayMapConstant,
174 kHeapNumberMapConstant, 174 kHeapNumberMapConstant,
175 kOptimizedOutConstant, 175 kOptimizedOutConstant,
176 kStaleRegisterConstant, 176 kStaleRegisterConstant,
177 kUndefinedConstant, 177 kUndefinedConstant,
178 kTheHoleConstant, 178 kTheHoleConstant,
179 kTrueConstant, 179 kTrueConstant,
180 kFalseConstant, 180 kFalseConstant,
(...skipping 18 matching lines...) Expand all
199 Node* NumberConstant(double value); 199 Node* NumberConstant(double value);
200 200
201 DISALLOW_COPY_AND_ASSIGN(JSGraph); 201 DISALLOW_COPY_AND_ASSIGN(JSGraph);
202 }; 202 };
203 203
204 } // namespace compiler 204 } // namespace compiler
205 } // namespace internal 205 } // namespace internal
206 } // namespace v8 206 } // namespace v8
207 207
208 #endif 208 #endif
OLDNEW
« no previous file with comments | « src/compiler/js-create-lowering.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698