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

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

Issue 867243005: X87: Externalize deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « src/x87/assembler-x87.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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 // to be in edi. 222 // to be in edi.
223 void CallKnownFunction(Handle<JSFunction> function, 223 void CallKnownFunction(Handle<JSFunction> function,
224 int formal_parameter_count, int arity, 224 int formal_parameter_count, int arity,
225 LInstruction* instr); 225 LInstruction* instr);
226 226
227 void RecordSafepointWithLazyDeopt(LInstruction* instr, 227 void RecordSafepointWithLazyDeopt(LInstruction* instr,
228 SafepointMode safepoint_mode); 228 SafepointMode safepoint_mode);
229 229
230 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 230 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
231 Safepoint::DeoptMode mode); 231 Safepoint::DeoptMode mode);
232 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail, 232 void DeoptimizeIf(Condition cc, LInstruction* instr,
233 Deoptimizer::DeoptReason deopt_reason,
233 Deoptimizer::BailoutType bailout_type); 234 Deoptimizer::BailoutType bailout_type);
234 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail); 235 void DeoptimizeIf(Condition cc, LInstruction* instr,
236 Deoptimizer::DeoptReason deopt_reason);
235 237
236 bool DeoptEveryNTimes() { 238 bool DeoptEveryNTimes() {
237 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 239 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
238 } 240 }
239 241
240 void AddToTranslation(LEnvironment* environment, 242 void AddToTranslation(LEnvironment* environment,
241 Translation* translation, 243 Translation* translation,
242 LOperand* op, 244 LOperand* op,
243 bool is_tagged, 245 bool is_tagged,
244 bool is_uint32, 246 bool is_uint32,
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 Label exit_; 502 Label exit_;
501 Label* external_exit_; 503 Label* external_exit_;
502 Label done_; 504 Label done_;
503 int instruction_index_; 505 int instruction_index_;
504 LCodeGen::X87Stack x87_stack_; 506 LCodeGen::X87Stack x87_stack_;
505 }; 507 };
506 508
507 } } // namespace v8::internal 509 } } // namespace v8::internal
508 510
509 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ 511 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_
OLDNEW
« no previous file with comments | « src/x87/assembler-x87.cc ('k') | src/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698