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

Side by Side Diff: src/crankshaft/x64/lithium-codegen-x64.h

Issue 2161543002: [turbofan] Add support for eager/soft deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Do the ports properly Created 4 years, 5 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/crankshaft/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/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_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ 5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ 6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
7 7
8 8
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 void CallKnownFunction(Handle<JSFunction> function, 198 void CallKnownFunction(Handle<JSFunction> function,
199 int formal_parameter_count, int arity, 199 int formal_parameter_count, int arity,
200 bool is_tail_call, LInstruction* instr); 200 bool is_tail_call, LInstruction* instr);
201 201
202 void RecordSafepointWithLazyDeopt(LInstruction* instr, 202 void RecordSafepointWithLazyDeopt(LInstruction* instr,
203 SafepointMode safepoint_mode, 203 SafepointMode safepoint_mode,
204 int argc); 204 int argc);
205 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 205 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
206 Safepoint::DeoptMode mode); 206 Safepoint::DeoptMode mode);
207 void DeoptimizeIf(Condition cc, LInstruction* instr, 207 void DeoptimizeIf(Condition cc, LInstruction* instr,
208 Deoptimizer::DeoptReason deopt_reason, 208 DeoptimizeReason deopt_reason,
209 Deoptimizer::BailoutType bailout_type); 209 Deoptimizer::BailoutType bailout_type);
210 void DeoptimizeIf(Condition cc, LInstruction* instr, 210 void DeoptimizeIf(Condition cc, LInstruction* instr,
211 Deoptimizer::DeoptReason deopt_reason); 211 DeoptimizeReason deopt_reason);
212 212
213 bool DeoptEveryNTimes() { 213 bool DeoptEveryNTimes() {
214 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); 214 return FLAG_deopt_every_n_times != 0 && !info()->IsStub();
215 } 215 }
216 216
217 void AddToTranslation(LEnvironment* environment, 217 void AddToTranslation(LEnvironment* environment,
218 Translation* translation, 218 Translation* translation,
219 LOperand* op, 219 LOperand* op,
220 bool is_tagged, 220 bool is_tagged,
221 bool is_uint32, 221 bool is_uint32,
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 Label exit_; 378 Label exit_;
379 Label done_; 379 Label done_;
380 Label* external_exit_; 380 Label* external_exit_;
381 int instruction_index_; 381 int instruction_index_;
382 }; 382 };
383 383
384 } // namespace internal 384 } // namespace internal
385 } // namespace v8 385 } // namespace v8
386 386
387 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ 387 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698