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

Side by Side Diff: src/crankshaft/arm/lithium-codegen-arm.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/compiler/x87/instruction-selector-x87.cc ('k') | src/crankshaft/arm/lithium-codegen-arm.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_ARM_LITHIUM_CODEGEN_ARM_H_ 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_
6 #define V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ 6 #define V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_
7 7
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/crankshaft/arm/lithium-arm.h" 9 #include "src/crankshaft/arm/lithium-arm.h"
10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h" 10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 void CallKnownFunction(Handle<JSFunction> function, 224 void CallKnownFunction(Handle<JSFunction> function,
225 int formal_parameter_count, int arity, 225 int formal_parameter_count, int arity,
226 bool is_tail_call, LInstruction* instr); 226 bool is_tail_call, LInstruction* instr);
227 227
228 void RecordSafepointWithLazyDeopt(LInstruction* instr, 228 void RecordSafepointWithLazyDeopt(LInstruction* instr,
229 SafepointMode safepoint_mode); 229 SafepointMode safepoint_mode);
230 230
231 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 231 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
232 Safepoint::DeoptMode mode); 232 Safepoint::DeoptMode mode);
233 void DeoptimizeIf(Condition condition, LInstruction* instr, 233 void DeoptimizeIf(Condition condition, LInstruction* instr,
234 Deoptimizer::DeoptReason deopt_reason, 234 DeoptimizeReason deopt_reason,
235 Deoptimizer::BailoutType bailout_type); 235 Deoptimizer::BailoutType bailout_type);
236 void DeoptimizeIf(Condition condition, LInstruction* instr, 236 void DeoptimizeIf(Condition condition, LInstruction* instr,
237 Deoptimizer::DeoptReason deopt_reason); 237 DeoptimizeReason deopt_reason);
238 238
239 void AddToTranslation(LEnvironment* environment, 239 void AddToTranslation(LEnvironment* environment,
240 Translation* translation, 240 Translation* translation,
241 LOperand* op, 241 LOperand* op,
242 bool is_tagged, 242 bool is_tagged,
243 bool is_uint32, 243 bool is_uint32,
244 int* object_index_pointer, 244 int* object_index_pointer,
245 int* dematerialized_index_pointer); 245 int* dematerialized_index_pointer);
246 246
247 Register ToRegister(int index) const; 247 Register ToRegister(int index) const;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 Label entry_; 382 Label entry_;
383 Label exit_; 383 Label exit_;
384 Label* external_exit_; 384 Label* external_exit_;
385 int instruction_index_; 385 int instruction_index_;
386 }; 386 };
387 387
388 } // namespace internal 388 } // namespace internal
389 } // namespace v8 389 } // namespace v8
390 390
391 #endif // V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ 391 #endif // V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/compiler/x87/instruction-selector-x87.cc ('k') | src/crankshaft/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698