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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 RDI_UNINITIALIZED, | 206 RDI_UNINITIALIZED, |
207 RDI_CONTAINS_TARGET | 207 RDI_CONTAINS_TARGET |
208 }; | 208 }; |
209 | 209 |
210 // Generate a direct call to a known function. Expects the function | 210 // Generate a direct call to a known function. Expects the function |
211 // to be in rdi. | 211 // to be in rdi. |
212 void CallKnownFunction(Handle<JSFunction> function, | 212 void CallKnownFunction(Handle<JSFunction> function, |
213 int formal_parameter_count, | 213 int formal_parameter_count, |
214 int arity, | 214 int arity, |
215 LInstruction* instr, | 215 LInstruction* instr, |
216 CallKind call_kind, | |
217 RDIState rdi_state); | 216 RDIState rdi_state); |
218 | 217 |
219 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 218 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
220 SafepointMode safepoint_mode, | 219 SafepointMode safepoint_mode, |
221 int argc); | 220 int argc); |
222 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 221 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
223 Safepoint::DeoptMode mode); | 222 Safepoint::DeoptMode mode); |
224 void DeoptimizeIf(Condition cc, | 223 void DeoptimizeIf(Condition cc, |
225 LEnvironment* environment, | 224 LEnvironment* environment, |
226 Deoptimizer::BailoutType bailout_type); | 225 Deoptimizer::BailoutType bailout_type); |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 Label entry_; | 411 Label entry_; |
413 Label exit_; | 412 Label exit_; |
414 Label done_; | 413 Label done_; |
415 Label* external_exit_; | 414 Label* external_exit_; |
416 int instruction_index_; | 415 int instruction_index_; |
417 }; | 416 }; |
418 | 417 |
419 } } // namespace v8::internal | 418 } } // namespace v8::internal |
420 | 419 |
421 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 420 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |