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

Side by Side Diff: src/x87/lithium-codegen-x87.h

Issue 587623002: Introduce a class to carry around a deoptimization reason. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Re-added a few Comment calls which were accidentally removed. Created 6 years, 2 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/x64/lithium-codegen-x64.cc ('k') | src/x87/lithium-codegen-x87.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_X87_LITHIUM_CODEGEN_X87_H_ 5 #ifndef V8_X87_LITHIUM_CODEGEN_X87_H_
6 #define V8_X87_LITHIUM_CODEGEN_X87_H_ 6 #define V8_X87_LITHIUM_CODEGEN_X87_H_
7 7
8 #include <map> 8 #include <map>
9 #include "src/x87/lithium-x87.h" 9 #include "src/x87/lithium-x87.h"
10 10
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 int formal_parameter_count, 229 int formal_parameter_count,
230 int arity, 230 int arity,
231 LInstruction* instr, 231 LInstruction* instr,
232 EDIState edi_state); 232 EDIState edi_state);
233 233
234 void RecordSafepointWithLazyDeopt(LInstruction* instr, 234 void RecordSafepointWithLazyDeopt(LInstruction* instr,
235 SafepointMode safepoint_mode); 235 SafepointMode safepoint_mode);
236 236
237 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 237 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
238 Safepoint::DeoptMode mode); 238 Safepoint::DeoptMode mode);
239 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* reason, 239 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail,
240 Deoptimizer::BailoutType bailout_type); 240 Deoptimizer::BailoutType bailout_type);
241 void DeoptimizeIf(Condition cc, LInstruction* instr, 241 void DeoptimizeIf(Condition cc, LInstruction* instr,
242 const char* reason = NULL); 242 const char* detail = NULL);
243 243
244 bool DeoptEveryNTimes() { 244 bool DeoptEveryNTimes() {
245 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 245 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
246 } 246 }
247 247
248 void AddToTranslation(LEnvironment* environment, 248 void AddToTranslation(LEnvironment* environment,
249 Translation* translation, 249 Translation* translation,
250 LOperand* op, 250 LOperand* op,
251 bool is_tagged, 251 bool is_tagged,
252 bool is_uint32, 252 bool is_uint32,
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 Label exit_; 508 Label exit_;
509 Label* external_exit_; 509 Label* external_exit_;
510 Label done_; 510 Label done_;
511 int instruction_index_; 511 int instruction_index_;
512 LCodeGen::X87Stack x87_stack_; 512 LCodeGen::X87Stack x87_stack_;
513 }; 513 };
514 514
515 } } // namespace v8::internal 515 } } // namespace v8::internal
516 516
517 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ 517 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698