| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 SafepointMode safepoint_mode, | 213 SafepointMode safepoint_mode, |
| 214 int argc); | 214 int argc); |
| 215 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 215 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
| 216 Safepoint::DeoptMode mode); | 216 Safepoint::DeoptMode mode); |
| 217 void DeoptimizeIf(Condition cc, | 217 void DeoptimizeIf(Condition cc, |
| 218 LEnvironment* environment, | 218 LEnvironment* environment, |
| 219 Deoptimizer::BailoutType bailout_type); | 219 Deoptimizer::BailoutType bailout_type); |
| 220 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 220 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
| 221 void ApplyCheckIf(Condition cc, LBoundsCheck* check); | 221 void ApplyCheckIf(Condition cc, LBoundsCheck* check); |
| 222 | 222 |
| 223 bool DeoptEveryNTimes() { |
| 224 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
| 225 } |
| 226 |
| 223 void AddToTranslation(LEnvironment* environment, | 227 void AddToTranslation(LEnvironment* environment, |
| 224 Translation* translation, | 228 Translation* translation, |
| 225 LOperand* op, | 229 LOperand* op, |
| 226 bool is_tagged, | 230 bool is_tagged, |
| 227 bool is_uint32, | 231 bool is_uint32, |
| 228 int* object_index_pointer, | 232 int* object_index_pointer, |
| 229 int* dematerialized_index_pointer); | 233 int* dematerialized_index_pointer); |
| 230 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); | 234 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); |
| 231 void PopulateDeoptimizationData(Handle<Code> code); | 235 void PopulateDeoptimizationData(Handle<Code> code); |
| 232 int DefineDeoptimizationLiteral(Handle<Object> literal); | 236 int DefineDeoptimizationLiteral(Handle<Object> literal); |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 Label entry_; | 407 Label entry_; |
| 404 Label exit_; | 408 Label exit_; |
| 405 Label done_; | 409 Label done_; |
| 406 Label* external_exit_; | 410 Label* external_exit_; |
| 407 int instruction_index_; | 411 int instruction_index_; |
| 408 }; | 412 }; |
| 409 | 413 |
| 410 } } // namespace v8::internal | 414 } } // namespace v8::internal |
| 411 | 415 |
| 412 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 416 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |