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

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

Issue 2141953002: [Turbofan]: Add integer multiplication with overflow to typed lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@multiply
Patch Set: fix failing tests. Created 4 years, 5 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 Node* EmptyLiteralsArrayConstant(); 47 Node* EmptyLiteralsArrayConstant();
48 Node* HeapNumberMapConstant(); 48 Node* HeapNumberMapConstant();
49 Node* OptimizedOutConstant(); 49 Node* OptimizedOutConstant();
50 Node* StaleRegisterConstant(); 50 Node* StaleRegisterConstant();
51 Node* UndefinedConstant(); 51 Node* UndefinedConstant();
52 Node* TheHoleConstant(); 52 Node* TheHoleConstant();
53 Node* TrueConstant(); 53 Node* TrueConstant();
54 Node* FalseConstant(); 54 Node* FalseConstant();
55 Node* NullConstant(); 55 Node* NullConstant();
56 Node* ZeroConstant(); 56 Node* ZeroConstant();
57 Node* MinusZeroConstant();
Benedikt Meurer 2016/07/14 11:41:35 Remove this one, you don't need it.
57 Node* OneConstant(); 58 Node* OneConstant();
58 Node* NaNConstant(); 59 Node* NaNConstant();
59 60
60 // Creates a HeapConstant node, possibly canonicalized, and may access the 61 // Creates a HeapConstant node, possibly canonicalized, and may access the
61 // heap to inspect the object. 62 // heap to inspect the object.
62 Node* HeapConstant(Handle<HeapObject> value); 63 Node* HeapConstant(Handle<HeapObject> value);
63 64
64 // Creates a Constant node of the appropriate type for the given object. 65 // Creates a Constant node of the appropriate type for the given object.
65 // Accesses the heap to inspect the object and determine whether one of the 66 // Accesses the heap to inspect the object and determine whether one of the
66 // canonicalized globals or a number constant should be returned. 67 // canonicalized globals or a number constant should be returned.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 kEmptyLiteralsArrayConstant, 154 kEmptyLiteralsArrayConstant,
154 kHeapNumberMapConstant, 155 kHeapNumberMapConstant,
155 kOptimizedOutConstant, 156 kOptimizedOutConstant,
156 kStaleRegisterConstant, 157 kStaleRegisterConstant,
157 kUndefinedConstant, 158 kUndefinedConstant,
158 kTheHoleConstant, 159 kTheHoleConstant,
159 kTrueConstant, 160 kTrueConstant,
160 kFalseConstant, 161 kFalseConstant,
161 kNullConstant, 162 kNullConstant,
162 kZeroConstant, 163 kZeroConstant,
164 kMinusZeroConstant,
163 kOneConstant, 165 kOneConstant,
164 kNaNConstant, 166 kNaNConstant,
165 kEmptyStateValues, 167 kEmptyStateValues,
166 kDead, 168 kDead,
167 kNumCachedNodes // Must remain last. 169 kNumCachedNodes // Must remain last.
168 }; 170 };
169 171
170 Isolate* isolate_; 172 Isolate* isolate_;
171 Graph* graph_; 173 Graph* graph_;
172 CommonOperatorBuilder* common_; 174 CommonOperatorBuilder* common_;
173 JSOperatorBuilder* javascript_; 175 JSOperatorBuilder* javascript_;
174 SimplifiedOperatorBuilder* simplified_; 176 SimplifiedOperatorBuilder* simplified_;
175 MachineOperatorBuilder* machine_; 177 MachineOperatorBuilder* machine_;
176 CommonNodeCache cache_; 178 CommonNodeCache cache_;
177 Node* cached_nodes_[kNumCachedNodes]; 179 Node* cached_nodes_[kNumCachedNodes];
178 180
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

Powered by Google App Engine
This is Rietveld 408576698