OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 void PopulateDeoptimizationData(Handle<Code> code); | 214 void PopulateDeoptimizationData(Handle<Code> code); |
215 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 215 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
216 | 216 |
217 MemOperand BuildSeqStringOperand(Register string, | 217 MemOperand BuildSeqStringOperand(Register string, |
218 Register temp, | 218 Register temp, |
219 LOperand* index, | 219 LOperand* index, |
220 String::Encoding encoding); | 220 String::Encoding encoding); |
221 Deoptimizer::BailoutType DeoptimizeHeader( | 221 Deoptimizer::BailoutType DeoptimizeHeader( |
222 LEnvironment* environment, | 222 LEnvironment* environment, |
223 Deoptimizer::BailoutType* override_bailout_type); | 223 Deoptimizer::BailoutType* override_bailout_type); |
| 224 void DeoptimizeBranch(LEnvironment* environment, |
| 225 Deoptimizer::BailoutType bailout_type, |
| 226 BranchType branch_type, |
| 227 Register reg = NoReg, |
| 228 int bit = -1); |
| 229 void DeoptimizeBranch(LEnvironment* environment, |
| 230 BranchType branch_type, |
| 231 Register reg = NoReg, |
| 232 int bit = -1) { |
| 233 Deoptimizer::BailoutType bailout_type = DeoptimizeHeader(environment, NULL); |
| 234 DeoptimizeBranch(environment, bailout_type, branch_type, reg, bit); |
| 235 } |
224 void Deoptimize(LEnvironment* environment); | 236 void Deoptimize(LEnvironment* environment); |
225 void Deoptimize(LEnvironment* environment, | 237 void Deoptimize(LEnvironment* environment, |
226 Deoptimizer::BailoutType bailout_type); | 238 Deoptimizer::BailoutType bailout_type); |
227 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 239 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
228 void DeoptimizeIfZero(Register rt, LEnvironment* environment); | 240 void DeoptimizeIfZero(Register rt, LEnvironment* environment); |
229 void DeoptimizeIfNegative(Register rt, LEnvironment* environment); | 241 void DeoptimizeIfNegative(Register rt, LEnvironment* environment); |
230 void DeoptimizeIfSmi(Register rt, LEnvironment* environment); | 242 void DeoptimizeIfSmi(Register rt, LEnvironment* environment); |
231 void DeoptimizeIfNotSmi(Register rt, LEnvironment* environment); | 243 void DeoptimizeIfNotSmi(Register rt, LEnvironment* environment); |
232 void DeoptimizeIfRoot(Register rt, | 244 void DeoptimizeIfRoot(Register rt, |
233 Heap::RootListIndex index, | 245 Heap::RootListIndex index, |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 | 476 |
465 protected: | 477 protected: |
466 MacroAssembler* masm() const { return codegen_->masm(); } | 478 MacroAssembler* masm() const { return codegen_->masm(); } |
467 | 479 |
468 LCodeGen* codegen_; | 480 LCodeGen* codegen_; |
469 }; | 481 }; |
470 | 482 |
471 } } // namespace v8::internal | 483 } } // namespace v8::internal |
472 | 484 |
473 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ | 485 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ |
OLD | NEW |