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

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

Issue 597003003: X87: Made the detailed reason for deopts mandatory on x87. Unified and improved things. (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: 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
« no previous file with comments | « no previous file | 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
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* detail, 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, const char* detail);
242 const char* detail = NULL);
243 242
244 bool DeoptEveryNTimes() { 243 bool DeoptEveryNTimes() {
245 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 244 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
246 } 245 }
247 246
248 void AddToTranslation(LEnvironment* environment, 247 void AddToTranslation(LEnvironment* environment,
249 Translation* translation, 248 Translation* translation,
250 LOperand* op, 249 LOperand* op,
251 bool is_tagged, 250 bool is_tagged,
252 bool is_uint32, 251 bool is_uint32,
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 Label exit_; 507 Label exit_;
509 Label* external_exit_; 508 Label* external_exit_;
510 Label done_; 509 Label done_;
511 int instruction_index_; 510 int instruction_index_;
512 LCodeGen::X87Stack x87_stack_; 511 LCodeGen::X87Stack x87_stack_;
513 }; 512 };
514 513
515 } } // namespace v8::internal 514 } } // namespace v8::internal
516 515
517 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ 516 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_
OLDNEW
« no previous file with comments | « no previous file | src/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698