OLD | NEW |
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_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ | 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ | 6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 void CallKnownFunction(Handle<JSFunction> function, | 225 void CallKnownFunction(Handle<JSFunction> function, |
226 int formal_parameter_count, int arity, | 226 int formal_parameter_count, int arity, |
227 bool is_tail_call, LInstruction* instr); | 227 bool is_tail_call, LInstruction* instr); |
228 | 228 |
229 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 229 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
230 SafepointMode safepoint_mode); | 230 SafepointMode safepoint_mode); |
231 | 231 |
232 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 232 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
233 Safepoint::DeoptMode mode); | 233 Safepoint::DeoptMode mode); |
234 void DeoptimizeIf(Condition cc, LInstruction* instr, | 234 void DeoptimizeIf(Condition cc, LInstruction* instr, |
235 Deoptimizer::DeoptReason deopt_reason, | 235 DeoptimizeReason deopt_reason, |
236 Deoptimizer::BailoutType bailout_type); | 236 Deoptimizer::BailoutType bailout_type); |
237 void DeoptimizeIf(Condition cc, LInstruction* instr, | 237 void DeoptimizeIf(Condition cc, LInstruction* instr, |
238 Deoptimizer::DeoptReason deopt_reason); | 238 DeoptimizeReason deopt_reason); |
239 | 239 |
240 bool DeoptEveryNTimes() { | 240 bool DeoptEveryNTimes() { |
241 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); | 241 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
242 } | 242 } |
243 | 243 |
244 void AddToTranslation(LEnvironment* environment, | 244 void AddToTranslation(LEnvironment* environment, |
245 Translation* translation, | 245 Translation* translation, |
246 LOperand* op, | 246 LOperand* op, |
247 bool is_tagged, | 247 bool is_tagged, |
248 bool is_uint32, | 248 bool is_uint32, |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 Label* external_exit_; | 485 Label* external_exit_; |
486 Label done_; | 486 Label done_; |
487 int instruction_index_; | 487 int instruction_index_; |
488 LCodeGen::X87Stack x87_stack_; | 488 LCodeGen::X87Stack x87_stack_; |
489 }; | 489 }; |
490 | 490 |
491 } // namespace internal | 491 } // namespace internal |
492 } // namespace v8 | 492 } // namespace v8 |
493 | 493 |
494 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ | 494 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
OLD | NEW |