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

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

Issue 442253002: Add deoptimization translations. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing review comments. 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.cc ('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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 void VisitParameter(Node* node); 172 void VisitParameter(Node* node);
173 void VisitPhi(Node* node); 173 void VisitPhi(Node* node);
174 void VisitProjection(Node* node); 174 void VisitProjection(Node* node);
175 void VisitConstant(Node* node); 175 void VisitConstant(Node* node);
176 void VisitCall(Node* call, BasicBlock* continuation, 176 void VisitCall(Node* call, BasicBlock* continuation,
177 BasicBlock* deoptimization); 177 BasicBlock* deoptimization);
178 void VisitGoto(BasicBlock* target); 178 void VisitGoto(BasicBlock* target);
179 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch); 179 void VisitBranch(Node* input, BasicBlock* tbranch, BasicBlock* fbranch);
180 void VisitReturn(Node* value); 180 void VisitReturn(Node* value);
181 void VisitThrow(Node* value); 181 void VisitThrow(Node* value);
182 void VisitDeoptimization(Node* deopt); 182 void VisitDeoptimize(Node* deopt);
183 183
184 // =========================================================================== 184 // ===========================================================================
185 185
186 Graph* graph() const { return sequence()->graph(); } 186 Graph* graph() const { return sequence()->graph(); }
187 Linkage* linkage() const { return sequence()->linkage(); } 187 Linkage* linkage() const { return sequence()->linkage(); }
188 Schedule* schedule() const { return sequence()->schedule(); } 188 Schedule* schedule() const { return sequence()->schedule(); }
189 InstructionSequence* sequence() const { return sequence_; } 189 InstructionSequence* sequence() const { return sequence_; }
190 Zone* instruction_zone() const { return sequence()->zone(); } 190 Zone* instruction_zone() const { return sequence()->zone(); }
191 Zone* zone() { return &zone_; } 191 Zone* zone() { return &zone_; }
192 192
(...skipping 10 matching lines...) Expand all
203 Instructions instructions_; 203 Instructions instructions_;
204 BoolVector defined_; 204 BoolVector defined_;
205 BoolVector used_; 205 BoolVector used_;
206 }; 206 };
207 207
208 } // namespace compiler 208 } // namespace compiler
209 } // namespace internal 209 } // namespace internal
210 } // namespace v8 210 } // namespace v8
211 211
212 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 212 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698