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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 : zone_(info->zone()), | 51 : zone_(info->zone()), |
52 chunk_(static_cast<LPlatformChunk*>(chunk)), | 52 chunk_(static_cast<LPlatformChunk*>(chunk)), |
53 masm_(assembler), | 53 masm_(assembler), |
54 info_(info), | 54 info_(info), |
55 current_block_(-1), | 55 current_block_(-1), |
56 current_instruction_(-1), | 56 current_instruction_(-1), |
57 instructions_(chunk->instructions()), | 57 instructions_(chunk->instructions()), |
58 deoptimizations_(4, info->zone()), | 58 deoptimizations_(4, info->zone()), |
59 jump_table_(4, info->zone()), | 59 jump_table_(4, info->zone()), |
60 deoptimization_literals_(8, info->zone()), | 60 deoptimization_literals_(8, info->zone()), |
| 61 deopt_counter_cells_(4, info->zone()), |
61 prototype_maps_(0, info->zone()), | 62 prototype_maps_(0, info->zone()), |
62 transition_maps_(0, info->zone()), | 63 transition_maps_(0, info->zone()), |
63 inlined_function_count_(0), | 64 inlined_function_count_(0), |
64 scope_(info->scope()), | 65 scope_(info->scope()), |
65 status_(UNUSED), | 66 status_(UNUSED), |
66 translations_(info->zone()), | 67 translations_(info->zone()), |
67 deferred_(8, info->zone()), | 68 deferred_(8, info->zone()), |
68 dynamic_frame_alignment_(false), | 69 dynamic_frame_alignment_(false), |
69 support_aligned_spilled_doubles_(false), | 70 support_aligned_spilled_doubles_(false), |
70 osr_pc_offset_(-1), | 71 osr_pc_offset_(-1), |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 | 288 |
288 void AddToTranslation(Translation* translation, | 289 void AddToTranslation(Translation* translation, |
289 LOperand* op, | 290 LOperand* op, |
290 bool is_tagged, | 291 bool is_tagged, |
291 bool is_uint32, | 292 bool is_uint32, |
292 bool arguments_known, | 293 bool arguments_known, |
293 int arguments_index, | 294 int arguments_index, |
294 int arguments_count); | 295 int arguments_count); |
295 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); | 296 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); |
296 void PopulateDeoptimizationData(Handle<Code> code); | 297 void PopulateDeoptimizationData(Handle<Code> code); |
| 298 void PopulateDeoptCounterCells(Handle<Code> code); |
297 int DefineDeoptimizationLiteral(Handle<Object> literal); | 299 int DefineDeoptimizationLiteral(Handle<Object> literal); |
298 | 300 |
299 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 301 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
300 | 302 |
301 Register ToRegister(int index) const; | 303 Register ToRegister(int index) const; |
302 XMMRegister ToDoubleRegister(int index) const; | 304 XMMRegister ToDoubleRegister(int index) const; |
303 int ToInteger32(LConstantOperand* op) const; | 305 int ToInteger32(LConstantOperand* op) const; |
304 | 306 |
305 double ToDouble(LConstantOperand* op) const; | 307 double ToDouble(LConstantOperand* op) const; |
306 Operand BuildFastArrayOperand(LOperand* elements_pointer, | 308 Operand BuildFastArrayOperand(LOperand* elements_pointer, |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 LPlatformChunk* const chunk_; | 405 LPlatformChunk* const chunk_; |
404 MacroAssembler* const masm_; | 406 MacroAssembler* const masm_; |
405 CompilationInfo* const info_; | 407 CompilationInfo* const info_; |
406 | 408 |
407 int current_block_; | 409 int current_block_; |
408 int current_instruction_; | 410 int current_instruction_; |
409 const ZoneList<LInstruction*>* instructions_; | 411 const ZoneList<LInstruction*>* instructions_; |
410 ZoneList<LEnvironment*> deoptimizations_; | 412 ZoneList<LEnvironment*> deoptimizations_; |
411 ZoneList<Deoptimizer::JumpTableEntry> jump_table_; | 413 ZoneList<Deoptimizer::JumpTableEntry> jump_table_; |
412 ZoneList<Handle<Object> > deoptimization_literals_; | 414 ZoneList<Handle<Object> > deoptimization_literals_; |
| 415 ZoneList<LDeoptCounterCell*> deopt_counter_cells_; |
413 ZoneList<Handle<Map> > prototype_maps_; | 416 ZoneList<Handle<Map> > prototype_maps_; |
414 ZoneList<Handle<Map> > transition_maps_; | 417 ZoneList<Handle<Map> > transition_maps_; |
415 int inlined_function_count_; | 418 int inlined_function_count_; |
416 Scope* const scope_; | 419 Scope* const scope_; |
417 Status status_; | 420 Status status_; |
418 TranslationBuffer translations_; | 421 TranslationBuffer translations_; |
419 ZoneList<LDeferredCode*> deferred_; | 422 ZoneList<LDeferredCode*> deferred_; |
420 bool dynamic_frame_alignment_; | 423 bool dynamic_frame_alignment_; |
421 bool support_aligned_spilled_doubles_; | 424 bool support_aligned_spilled_doubles_; |
422 int osr_pc_offset_; | 425 int osr_pc_offset_; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 LCodeGen* codegen_; | 489 LCodeGen* codegen_; |
487 Label entry_; | 490 Label entry_; |
488 Label exit_; | 491 Label exit_; |
489 Label* external_exit_; | 492 Label* external_exit_; |
490 int instruction_index_; | 493 int instruction_index_; |
491 }; | 494 }; |
492 | 495 |
493 } } // namespace v8::internal | 496 } } // namespace v8::internal |
494 | 497 |
495 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 498 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |