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

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

Issue 874323003: Externalize deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: minor change 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/arm/assembler-arm.cc ('k') | src/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_ARM_LITHIUM_CODEGEN_ARM_H_ 5 #ifndef V8_ARM_LITHIUM_CODEGEN_ARM_H_
6 #define V8_ARM_LITHIUM_CODEGEN_ARM_H_ 6 #define V8_ARM_LITHIUM_CODEGEN_ARM_H_
7 7
8 #include "src/arm/lithium-arm.h" 8 #include "src/arm/lithium-arm.h"
9 9
10 #include "src/arm/lithium-gap-resolver-arm.h" 10 #include "src/arm/lithium-gap-resolver-arm.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 void CallKnownFunction(Handle<JSFunction> function, 221 void CallKnownFunction(Handle<JSFunction> function,
222 int formal_parameter_count, int arity, 222 int formal_parameter_count, int arity,
223 LInstruction* instr); 223 LInstruction* instr);
224 224
225 void RecordSafepointWithLazyDeopt(LInstruction* instr, 225 void RecordSafepointWithLazyDeopt(LInstruction* instr,
226 SafepointMode safepoint_mode); 226 SafepointMode safepoint_mode);
227 227
228 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 228 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
229 Safepoint::DeoptMode mode); 229 Safepoint::DeoptMode mode);
230 void DeoptimizeIf(Condition condition, LInstruction* instr, 230 void DeoptimizeIf(Condition condition, LInstruction* instr,
231 const char* detail, Deoptimizer::BailoutType bailout_type); 231 Deoptimizer::DeoptReason deopt_reason,
232 Deoptimizer::BailoutType bailout_type);
232 void DeoptimizeIf(Condition condition, LInstruction* instr, 233 void DeoptimizeIf(Condition condition, LInstruction* instr,
233 const char* detail); 234 Deoptimizer::DeoptReason deopt_reason);
234 235
235 void AddToTranslation(LEnvironment* environment, 236 void AddToTranslation(LEnvironment* environment,
236 Translation* translation, 237 Translation* translation,
237 LOperand* op, 238 LOperand* op,
238 bool is_tagged, 239 bool is_tagged,
239 bool is_uint32, 240 bool is_uint32,
240 int* object_index_pointer, 241 int* object_index_pointer,
241 int* dematerialized_index_pointer); 242 int* dematerialized_index_pointer);
242 void PopulateDeoptimizationData(Handle<Code> code); 243 void PopulateDeoptimizationData(Handle<Code> code);
243 int DefineDeoptimizationLiteral(Handle<Object> literal); 244 int DefineDeoptimizationLiteral(Handle<Object> literal);
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 LCodeGen* codegen_; 397 LCodeGen* codegen_;
397 Label entry_; 398 Label entry_;
398 Label exit_; 399 Label exit_;
399 Label* external_exit_; 400 Label* external_exit_;
400 int instruction_index_; 401 int instruction_index_;
401 }; 402 };
402 403
403 } } // namespace v8::internal 404 } } // namespace v8::internal
404 405
405 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 406 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698