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

Side by Side Diff: src/x64/lithium-codegen-x64.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, 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/mips64/lithium-codegen-mips64.cc ('k') | src/x64/lithium-codegen-x64.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_X64_LITHIUM_CODEGEN_X64_H_ 5 #ifndef V8_X64_LITHIUM_CODEGEN_X64_H_
6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ 6 #define V8_X64_LITHIUM_CODEGEN_X64_H_
7 7
8 #include "src/x64/lithium-x64.h" 8 #include "src/x64/lithium-x64.h"
9 9
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 int formal_parameter_count, 199 int formal_parameter_count,
200 int arity, 200 int arity,
201 LInstruction* instr, 201 LInstruction* instr,
202 RDIState rdi_state); 202 RDIState rdi_state);
203 203
204 void RecordSafepointWithLazyDeopt(LInstruction* instr, 204 void RecordSafepointWithLazyDeopt(LInstruction* instr,
205 SafepointMode safepoint_mode, 205 SafepointMode safepoint_mode,
206 int argc); 206 int argc);
207 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 207 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
208 Safepoint::DeoptMode mode); 208 Safepoint::DeoptMode mode);
209 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* reason, 209 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail,
210 Deoptimizer::BailoutType bailout_type); 210 Deoptimizer::BailoutType bailout_type);
211 void DeoptimizeIf(Condition cc, LInstruction* instr, 211 void DeoptimizeIf(Condition cc, LInstruction* instr,
212 const char* reason = NULL); 212 const char* detail = NULL);
213 213
214 bool DeoptEveryNTimes() { 214 bool DeoptEveryNTimes() {
215 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 215 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
216 } 216 }
217 217
218 void AddToTranslation(LEnvironment* environment, 218 void AddToTranslation(LEnvironment* environment,
219 Translation* translation, 219 Translation* translation,
220 LOperand* op, 220 LOperand* op,
221 bool is_tagged, 221 bool is_tagged,
222 bool is_uint32, 222 bool is_uint32,
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 Label entry_; 395 Label entry_;
396 Label exit_; 396 Label exit_;
397 Label done_; 397 Label done_;
398 Label* external_exit_; 398 Label* external_exit_;
399 int instruction_index_; 399 int instruction_index_;
400 }; 400 };
401 401
402 } } // namespace v8::internal 402 } } // namespace v8::internal
403 403
404 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 404 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/mips64/lithium-codegen-mips64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698