OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 SafepointMode safepoint_mode); | 261 SafepointMode safepoint_mode); |
262 | 262 |
263 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 263 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
264 Safepoint::DeoptMode mode); | 264 Safepoint::DeoptMode mode); |
265 void DeoptimizeIf(Condition cc, | 265 void DeoptimizeIf(Condition cc, |
266 LEnvironment* environment, | 266 LEnvironment* environment, |
267 Deoptimizer::BailoutType bailout_type); | 267 Deoptimizer::BailoutType bailout_type); |
268 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 268 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
269 void ApplyCheckIf(Condition cc, LBoundsCheck* check); | 269 void ApplyCheckIf(Condition cc, LBoundsCheck* check); |
270 | 270 |
| 271 bool DeoptEveryNTimes() { |
| 272 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
| 273 } |
| 274 |
271 void AddToTranslation(LEnvironment* environment, | 275 void AddToTranslation(LEnvironment* environment, |
272 Translation* translation, | 276 Translation* translation, |
273 LOperand* op, | 277 LOperand* op, |
274 bool is_tagged, | 278 bool is_tagged, |
275 bool is_uint32, | 279 bool is_uint32, |
276 int* object_index_pointer, | 280 int* object_index_pointer, |
277 int* dematerialized_index_pointer); | 281 int* dematerialized_index_pointer); |
278 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); | 282 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); |
279 void PopulateDeoptimizationData(Handle<Code> code); | 283 void PopulateDeoptimizationData(Handle<Code> code); |
280 int DefineDeoptimizationLiteral(Handle<Object> literal); | 284 int DefineDeoptimizationLiteral(Handle<Object> literal); |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 Label exit_; | 536 Label exit_; |
533 Label* external_exit_; | 537 Label* external_exit_; |
534 Label done_; | 538 Label done_; |
535 int instruction_index_; | 539 int instruction_index_; |
536 LCodeGen::X87Stack x87_stack_; | 540 LCodeGen::X87Stack x87_stack_; |
537 }; | 541 }; |
538 | 542 |
539 } } // namespace v8::internal | 543 } } // namespace v8::internal |
540 | 544 |
541 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 545 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |