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

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

Issue 582743002: Emit comment with instruction+reason before deopt calls. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 6 years, 3 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 "src/x87/lithium-x87.h" 8 #include "src/x87/lithium-x87.h"
9 9
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 int formal_parameter_count, 227 int formal_parameter_count,
228 int arity, 228 int arity,
229 LInstruction* instr, 229 LInstruction* instr,
230 EDIState edi_state); 230 EDIState edi_state);
231 231
232 void RecordSafepointWithLazyDeopt(LInstruction* instr, 232 void RecordSafepointWithLazyDeopt(LInstruction* instr,
233 SafepointMode safepoint_mode); 233 SafepointMode safepoint_mode);
234 234
235 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 235 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
236 Safepoint::DeoptMode mode); 236 Safepoint::DeoptMode mode);
237 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* reason,
238 Deoptimizer::BailoutType bailout_type);
237 void DeoptimizeIf(Condition cc, LInstruction* instr, 239 void DeoptimizeIf(Condition cc, LInstruction* instr,
238 Deoptimizer::BailoutType bailout_type); 240 const char* reason = NULL);
239 void DeoptimizeIf(Condition cc, LInstruction* instr);
240 241
241 bool DeoptEveryNTimes() { 242 bool DeoptEveryNTimes() {
242 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 243 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
243 } 244 }
244 245
245 void AddToTranslation(LEnvironment* environment, 246 void AddToTranslation(LEnvironment* environment,
246 Translation* translation, 247 Translation* translation,
247 LOperand* op, 248 LOperand* op,
248 bool is_tagged, 249 bool is_tagged,
249 bool is_uint32, 250 bool is_uint32,
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 Label exit_; 493 Label exit_;
493 Label* external_exit_; 494 Label* external_exit_;
494 Label done_; 495 Label done_;
495 int instruction_index_; 496 int instruction_index_;
496 LCodeGen::X87Stack x87_stack_; 497 LCodeGen::X87Stack x87_stack_;
497 }; 498 };
498 499
499 } } // namespace v8::internal 500 } } // namespace v8::internal
500 501
501 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ 502 #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