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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 | 228 |
229 // Generate a direct call to a known function. Expects the function | 229 // Generate a direct call to a known function. Expects the function |
230 // to be in rdi. | 230 // to be in rdi. |
231 void CallKnownFunction(Handle<JSFunction> function, | 231 void CallKnownFunction(Handle<JSFunction> function, |
232 int formal_parameter_count, | 232 int formal_parameter_count, |
233 int arity, | 233 int arity, |
234 LInstruction* instr, | 234 LInstruction* instr, |
235 CallKind call_kind, | 235 CallKind call_kind, |
236 RDIState rdi_state); | 236 RDIState rdi_state); |
237 | 237 |
238 | |
239 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 238 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
240 SafepointMode safepoint_mode, | 239 SafepointMode safepoint_mode, |
241 int argc); | 240 int argc); |
242 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 241 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
243 Safepoint::DeoptMode mode); | 242 Safepoint::DeoptMode mode); |
244 void DeoptimizeIf(Condition cc, | 243 void DeoptimizeIf(Condition cc, |
245 LEnvironment* environment, | 244 LEnvironment* environment, |
246 Deoptimizer::BailoutType bailout_type); | 245 Deoptimizer::BailoutType bailout_type); |
247 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 246 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
248 void ApplyCheckIf(Condition cc, LBoundsCheck* check); | 247 void ApplyCheckIf(Condition cc, LBoundsCheck* check); |
249 void AddToTranslation(Translation* translation, | 248 |
| 249 void AddToTranslation(LEnvironment* environment, |
| 250 Translation* translation, |
250 LOperand* op, | 251 LOperand* op, |
251 bool is_tagged, | 252 bool is_tagged, |
252 bool is_uint32); | 253 bool is_uint32, |
| 254 int* object_index_pointer, |
| 255 int* dematerialized_index_pointer); |
253 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); | 256 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); |
254 void PopulateDeoptimizationData(Handle<Code> code); | 257 void PopulateDeoptimizationData(Handle<Code> code); |
255 int DefineDeoptimizationLiteral(Handle<Object> literal); | 258 int DefineDeoptimizationLiteral(Handle<Object> literal); |
256 | 259 |
257 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 260 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
258 | 261 |
259 Register ToRegister(int index) const; | 262 Register ToRegister(int index) const; |
260 XMMRegister ToDoubleRegister(int index) const; | 263 XMMRegister ToDoubleRegister(int index) const; |
261 Operand BuildFastArrayOperand( | 264 Operand BuildFastArrayOperand( |
262 LOperand* elements_pointer, | 265 LOperand* elements_pointer, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 LCodeGen* codegen_; | 437 LCodeGen* codegen_; |
435 Label entry_; | 438 Label entry_; |
436 Label exit_; | 439 Label exit_; |
437 Label* external_exit_; | 440 Label* external_exit_; |
438 int instruction_index_; | 441 int instruction_index_; |
439 }; | 442 }; |
440 | 443 |
441 } } // namespace v8::internal | 444 } } // namespace v8::internal |
442 | 445 |
443 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 446 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |