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