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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/deoptimizer.h ('k') | src/ia32/lithium-codegen-ia32.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_IA32_LITHIUM_CODEGEN_IA32_H_ 5 #ifndef V8_IA32_LITHIUM_CODEGEN_IA32_H_
6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_ 6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_
7 7
8 #include "src/ia32/lithium-ia32.h" 8 #include "src/ia32/lithium-ia32.h"
9 9
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 int formal_parameter_count, 202 int formal_parameter_count,
203 int arity, 203 int arity,
204 LInstruction* instr, 204 LInstruction* instr,
205 EDIState edi_state); 205 EDIState edi_state);
206 206
207 void RecordSafepointWithLazyDeopt(LInstruction* instr, 207 void RecordSafepointWithLazyDeopt(LInstruction* instr,
208 SafepointMode safepoint_mode); 208 SafepointMode safepoint_mode);
209 209
210 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 210 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
211 Safepoint::DeoptMode mode); 211 Safepoint::DeoptMode mode);
212 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* reason,
213 Deoptimizer::BailoutType bailout_type);
212 void DeoptimizeIf(Condition cc, LInstruction* instr, 214 void DeoptimizeIf(Condition cc, LInstruction* instr,
213 Deoptimizer::BailoutType bailout_type); 215 const char* reason = NULL);
214 void DeoptimizeIf(Condition cc, LInstruction* instr);
215 216
216 bool DeoptEveryNTimes() { 217 bool DeoptEveryNTimes() {
217 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 218 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
218 } 219 }
219 220
220 void AddToTranslation(LEnvironment* environment, 221 void AddToTranslation(LEnvironment* environment,
221 Translation* translation, 222 Translation* translation,
222 LOperand* op, 223 LOperand* op,
223 bool is_tagged, 224 bool is_tagged,
224 bool is_uint32, 225 bool is_uint32,
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 Label entry_; 408 Label entry_;
408 Label exit_; 409 Label exit_;
409 Label* external_exit_; 410 Label* external_exit_;
410 Label done_; 411 Label done_;
411 int instruction_index_; 412 int instruction_index_;
412 }; 413 };
413 414
414 } } // namespace v8::internal 415 } } // namespace v8::internal
415 416
416 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 417 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698