| 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_X87_LITHIUM_CODEGEN_X87_H_ | 5 #ifndef V8_X87_LITHIUM_CODEGEN_X87_H_ |
| 6 #define V8_X87_LITHIUM_CODEGEN_X87_H_ | 6 #define V8_X87_LITHIUM_CODEGEN_X87_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include "src/x87/lithium-x87.h" | 9 #include "src/x87/lithium-x87.h" |
| 10 | 10 |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 // to be in edi. | 222 // to be in edi. |
| 223 void CallKnownFunction(Handle<JSFunction> function, | 223 void CallKnownFunction(Handle<JSFunction> function, |
| 224 int formal_parameter_count, int arity, | 224 int formal_parameter_count, int arity, |
| 225 LInstruction* instr); | 225 LInstruction* instr); |
| 226 | 226 |
| 227 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 227 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
| 228 SafepointMode safepoint_mode); | 228 SafepointMode safepoint_mode); |
| 229 | 229 |
| 230 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 230 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
| 231 Safepoint::DeoptMode mode); | 231 Safepoint::DeoptMode mode); |
| 232 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail, | 232 void DeoptimizeIf(Condition cc, LInstruction* instr, |
| 233 Deoptimizer::DeoptReason deopt_reason, |
| 233 Deoptimizer::BailoutType bailout_type); | 234 Deoptimizer::BailoutType bailout_type); |
| 234 void DeoptimizeIf(Condition cc, LInstruction* instr, const char* detail); | 235 void DeoptimizeIf(Condition cc, LInstruction* instr, |
| 236 Deoptimizer::DeoptReason deopt_reason); |
| 235 | 237 |
| 236 bool DeoptEveryNTimes() { | 238 bool DeoptEveryNTimes() { |
| 237 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); | 239 return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
| 238 } | 240 } |
| 239 | 241 |
| 240 void AddToTranslation(LEnvironment* environment, | 242 void AddToTranslation(LEnvironment* environment, |
| 241 Translation* translation, | 243 Translation* translation, |
| 242 LOperand* op, | 244 LOperand* op, |
| 243 bool is_tagged, | 245 bool is_tagged, |
| 244 bool is_uint32, | 246 bool is_uint32, |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 Label exit_; | 502 Label exit_; |
| 501 Label* external_exit_; | 503 Label* external_exit_; |
| 502 Label done_; | 504 Label done_; |
| 503 int instruction_index_; | 505 int instruction_index_; |
| 504 LCodeGen::X87Stack x87_stack_; | 506 LCodeGen::X87Stack x87_stack_; |
| 505 }; | 507 }; |
| 506 | 508 |
| 507 } } // namespace v8::internal | 509 } } // namespace v8::internal |
| 508 | 510 |
| 509 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ | 511 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ |
| OLD | NEW |