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

Side by Side Diff: src/arm/lithium-codegen-arm.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 | « no previous file | 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 int arity, 228 int arity,
229 LInstruction* instr, 229 LInstruction* instr,
230 R1State r1_state); 230 R1State r1_state);
231 231
232 void RecordSafepointWithLazyDeopt(LInstruction* instr, 232 void RecordSafepointWithLazyDeopt(LInstruction* instr,
233 SafepointMode safepoint_mode); 233 SafepointMode safepoint_mode);
234 234
235 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 235 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
236 Safepoint::DeoptMode mode); 236 Safepoint::DeoptMode mode);
237 void DeoptimizeIf(Condition condition, LInstruction* instr, 237 void DeoptimizeIf(Condition condition, LInstruction* instr,
238 const char* reason, Deoptimizer::BailoutType bailout_type); 238 const char* detail, Deoptimizer::BailoutType bailout_type);
239 void DeoptimizeIf(Condition condition, LInstruction* instr, 239 void DeoptimizeIf(Condition condition, LInstruction* instr,
240 const char* reason = NULL); 240 const char* detail = NULL);
241 241
242 void AddToTranslation(LEnvironment* environment, 242 void AddToTranslation(LEnvironment* environment,
243 Translation* translation, 243 Translation* translation,
244 LOperand* op, 244 LOperand* op,
245 bool is_tagged, 245 bool is_tagged,
246 bool is_uint32, 246 bool is_uint32,
247 int* object_index_pointer, 247 int* object_index_pointer,
248 int* dematerialized_index_pointer); 248 int* dematerialized_index_pointer);
249 void PopulateDeoptimizationData(Handle<Code> code); 249 void PopulateDeoptimizationData(Handle<Code> code);
250 int DefineDeoptimizationLiteral(Handle<Object> literal); 250 int DefineDeoptimizationLiteral(Handle<Object> literal);
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 LCodeGen* codegen_; 403 LCodeGen* codegen_;
404 Label entry_; 404 Label entry_;
405 Label exit_; 405 Label exit_;
406 Label* external_exit_; 406 Label* external_exit_;
407 int instruction_index_; 407 int instruction_index_;
408 }; 408 };
409 409
410 } } // namespace v8::internal 410 } } // namespace v8::internal
411 411
412 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 412 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698