| 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 int arity, | 269 int arity, |
| 270 LInstruction* instr, | 270 LInstruction* instr, |
| 271 CallKind call_kind, | 271 CallKind call_kind, |
| 272 EDIState edi_state); | 272 EDIState edi_state); |
| 273 | 273 |
| 274 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 274 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
| 275 SafepointMode safepoint_mode); | 275 SafepointMode safepoint_mode); |
| 276 | 276 |
| 277 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 277 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
| 278 Safepoint::DeoptMode mode); | 278 Safepoint::DeoptMode mode); |
| 279 void DeoptimizeIf(Condition cc, |
| 280 LEnvironment* environment, |
| 281 Deoptimizer::BailoutType bailout_type); |
| 279 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 282 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
| 283 void SoftDeoptimize(LEnvironment* environment); |
| 280 | 284 |
| 281 void AddToTranslation(Translation* translation, | 285 void AddToTranslation(Translation* translation, |
| 282 LOperand* op, | 286 LOperand* op, |
| 283 bool is_tagged, | 287 bool is_tagged, |
| 284 bool is_uint32, | 288 bool is_uint32, |
| 285 bool arguments_known, | 289 bool arguments_known, |
| 286 int arguments_index, | 290 int arguments_index, |
| 287 int arguments_count); | 291 int arguments_count); |
| 288 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); | 292 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); |
| 289 void PopulateDeoptimizationData(Handle<Code> code); | 293 void PopulateDeoptimizationData(Handle<Code> code); |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 | 394 |
| 391 // Emits code for pushing either a tagged constant, a (non-double) | 395 // Emits code for pushing either a tagged constant, a (non-double) |
| 392 // register, or a stack slot operand. | 396 // register, or a stack slot operand. |
| 393 void EmitPushTaggedOperand(LOperand* operand); | 397 void EmitPushTaggedOperand(LOperand* operand); |
| 394 | 398 |
| 395 Zone* zone_; | 399 Zone* zone_; |
| 396 LPlatformChunk* const chunk_; | 400 LPlatformChunk* const chunk_; |
| 397 MacroAssembler* const masm_; | 401 MacroAssembler* const masm_; |
| 398 CompilationInfo* const info_; | 402 CompilationInfo* const info_; |
| 399 | 403 |
| 400 struct JumpTableEntry { | |
| 401 inline JumpTableEntry(Address entry, bool frame, bool is_lazy) | |
| 402 : label(), | |
| 403 address(entry), | |
| 404 needs_frame(frame), | |
| 405 is_lazy_deopt(is_lazy) { } | |
| 406 Label label; | |
| 407 Address address; | |
| 408 bool needs_frame; | |
| 409 bool is_lazy_deopt; | |
| 410 }; | |
| 411 | |
| 412 int current_block_; | 404 int current_block_; |
| 413 int current_instruction_; | 405 int current_instruction_; |
| 414 const ZoneList<LInstruction*>* instructions_; | 406 const ZoneList<LInstruction*>* instructions_; |
| 415 ZoneList<LEnvironment*> deoptimizations_; | 407 ZoneList<LEnvironment*> deoptimizations_; |
| 416 ZoneList<JumpTableEntry> jump_table_; | 408 ZoneList<Deoptimizer::JumpTableEntry> jump_table_; |
| 417 ZoneList<Handle<Object> > deoptimization_literals_; | 409 ZoneList<Handle<Object> > deoptimization_literals_; |
| 418 ZoneList<Handle<Map> > prototype_maps_; | 410 ZoneList<Handle<Map> > prototype_maps_; |
| 419 ZoneList<Handle<Map> > transition_maps_; | 411 ZoneList<Handle<Map> > transition_maps_; |
| 420 int inlined_function_count_; | 412 int inlined_function_count_; |
| 421 Scope* const scope_; | 413 Scope* const scope_; |
| 422 Status status_; | 414 Status status_; |
| 423 TranslationBuffer translations_; | 415 TranslationBuffer translations_; |
| 424 ZoneList<LDeferredCode*> deferred_; | 416 ZoneList<LDeferredCode*> deferred_; |
| 425 bool dynamic_frame_alignment_; | 417 bool dynamic_frame_alignment_; |
| 426 bool support_aligned_spilled_doubles_; | 418 bool support_aligned_spilled_doubles_; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 LCodeGen* codegen_; | 483 LCodeGen* codegen_; |
| 492 Label entry_; | 484 Label entry_; |
| 493 Label exit_; | 485 Label exit_; |
| 494 Label* external_exit_; | 486 Label* external_exit_; |
| 495 int instruction_index_; | 487 int instruction_index_; |
| 496 }; | 488 }; |
| 497 | 489 |
| 498 } } // namespace v8::internal | 490 } } // namespace v8::internal |
| 499 | 491 |
| 500 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 492 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |