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

Side by Side Diff: src/compiler/instruction-selector.h

Issue 436593002: [turbofan] Add Int32AddWithOverflow machine operator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add more tests. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/instruction-codes.h ('k') | src/compiler/instruction-selector.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_INSTRUCTION_SELECTOR_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 #define DECLARE_GENERATOR(x) void Visit##x(Node* node); 122 #define DECLARE_GENERATOR(x) void Visit##x(Node* node);
123 MACHINE_OP_LIST(DECLARE_GENERATOR) 123 MACHINE_OP_LIST(DECLARE_GENERATOR)
124 #undef DECLARE_GENERATOR 124 #undef DECLARE_GENERATOR
125 125
126 void VisitWord32Test(Node* node, FlagsContinuation* cont); 126 void VisitWord32Test(Node* node, FlagsContinuation* cont);
127 void VisitWord64Test(Node* node, FlagsContinuation* cont); 127 void VisitWord64Test(Node* node, FlagsContinuation* cont);
128 void VisitWord32Compare(Node* node, FlagsContinuation* cont); 128 void VisitWord32Compare(Node* node, FlagsContinuation* cont);
129 void VisitWord64Compare(Node* node, FlagsContinuation* cont); 129 void VisitWord64Compare(Node* node, FlagsContinuation* cont);
130 void VisitFloat64Compare(Node* node, FlagsContinuation* cont); 130 void VisitFloat64Compare(Node* node, FlagsContinuation* cont);
131 131
132 void VisitParameter(Node* node);
132 void VisitPhi(Node* node); 133 void VisitPhi(Node* node);
133 void VisitParameter(Node* node); 134 void VisitProjection(Node* node);
134 void VisitConstant(Node* node); 135 void VisitConstant(Node* node);
135 void VisitCall(Node* call, BasicBlock* continuation, 136 void VisitCall(Node* call, BasicBlock* continuation,
136 BasicBlock* deoptimization); 137 BasicBlock* deoptimization);
137 void VisitGoto(BasicBlock* target); 138 void VisitGoto(BasicBlock* target);
138 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); 139 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch);
139 void VisitReturn(Node* value); 140 void VisitReturn(Node* value);
140 void VisitThrow(Node* value); 141 void VisitThrow(Node* value);
141 void VisitDeoptimization(Node* deopt); 142 void VisitDeoptimization(Node* deopt);
142 143
143 // =========================================================================== 144 // ===========================================================================
(...skipping 16 matching lines...) Expand all
160 BasicBlock* current_block_; 161 BasicBlock* current_block_;
161 Instructions instructions_; 162 Instructions instructions_;
162 BoolVector used_; 163 BoolVector used_;
163 }; 164 };
164 165
165 } // namespace compiler 166 } // namespace compiler
166 } // namespace internal 167 } // namespace internal
167 } // namespace v8 168 } // namespace v8
168 169
169 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 170 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-codes.h ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698