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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 : zone_(info->zone()), | 49 : zone_(info->zone()), |
50 chunk_(static_cast<LPlatformChunk*>(chunk)), | 50 chunk_(static_cast<LPlatformChunk*>(chunk)), |
51 masm_(assembler), | 51 masm_(assembler), |
52 info_(info), | 52 info_(info), |
53 current_block_(-1), | 53 current_block_(-1), |
54 current_instruction_(-1), | 54 current_instruction_(-1), |
55 instructions_(chunk->instructions()), | 55 instructions_(chunk->instructions()), |
56 deoptimizations_(4, info->zone()), | 56 deoptimizations_(4, info->zone()), |
57 deopt_jump_table_(4, info->zone()), | 57 deopt_jump_table_(4, info->zone()), |
58 deoptimization_literals_(8, info->zone()), | 58 deoptimization_literals_(8, info->zone()), |
| 59 deopt_counter_cells_(4, info->zone()), |
59 prototype_maps_(0, info->zone()), | 60 prototype_maps_(0, info->zone()), |
60 transition_maps_(0, info->zone()), | 61 transition_maps_(0, info->zone()), |
61 inlined_function_count_(0), | 62 inlined_function_count_(0), |
62 scope_(info->scope()), | 63 scope_(info->scope()), |
63 status_(UNUSED), | 64 status_(UNUSED), |
64 translations_(info->zone()), | 65 translations_(info->zone()), |
65 deferred_(8, info->zone()), | 66 deferred_(8, info->zone()), |
66 osr_pc_offset_(-1), | 67 osr_pc_offset_(-1), |
67 last_lazy_deopt_pc_(0), | 68 last_lazy_deopt_pc_(0), |
68 frame_is_built_(false), | 69 frame_is_built_(false), |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 | 300 |
300 void AddToTranslation(Translation* translation, | 301 void AddToTranslation(Translation* translation, |
301 LOperand* op, | 302 LOperand* op, |
302 bool is_tagged, | 303 bool is_tagged, |
303 bool is_uint32, | 304 bool is_uint32, |
304 bool arguments_known, | 305 bool arguments_known, |
305 int arguments_index, | 306 int arguments_index, |
306 int arguments_count); | 307 int arguments_count); |
307 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); | 308 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); |
308 void PopulateDeoptimizationData(Handle<Code> code); | 309 void PopulateDeoptimizationData(Handle<Code> code); |
| 310 void PopulateDeoptCounterCells(Handle<Code> code); |
309 int DefineDeoptimizationLiteral(Handle<Object> literal); | 311 int DefineDeoptimizationLiteral(Handle<Object> literal); |
310 | 312 |
311 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 313 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
312 | 314 |
313 Register ToRegister(int index) const; | 315 Register ToRegister(int index) const; |
314 DwVfpRegister ToDoubleRegister(int index) const; | 316 DwVfpRegister ToDoubleRegister(int index) const; |
315 | 317 |
316 void EmitIntegerMathAbs(LMathAbs* instr); | 318 void EmitIntegerMathAbs(LMathAbs* instr); |
317 | 319 |
318 // Support for recording safepoint and position information. | 320 // Support for recording safepoint and position information. |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 LPlatformChunk* const chunk_; | 406 LPlatformChunk* const chunk_; |
405 MacroAssembler* const masm_; | 407 MacroAssembler* const masm_; |
406 CompilationInfo* const info_; | 408 CompilationInfo* const info_; |
407 | 409 |
408 int current_block_; | 410 int current_block_; |
409 int current_instruction_; | 411 int current_instruction_; |
410 const ZoneList<LInstruction*>* instructions_; | 412 const ZoneList<LInstruction*>* instructions_; |
411 ZoneList<LEnvironment*> deoptimizations_; | 413 ZoneList<LEnvironment*> deoptimizations_; |
412 ZoneList<Deoptimizer::JumpTableEntry> deopt_jump_table_; | 414 ZoneList<Deoptimizer::JumpTableEntry> deopt_jump_table_; |
413 ZoneList<Handle<Object> > deoptimization_literals_; | 415 ZoneList<Handle<Object> > deoptimization_literals_; |
| 416 ZoneList<LDeoptCounterCell*> deopt_counter_cells_; |
414 ZoneList<Handle<Map> > prototype_maps_; | 417 ZoneList<Handle<Map> > prototype_maps_; |
415 ZoneList<Handle<Map> > transition_maps_; | 418 ZoneList<Handle<Map> > transition_maps_; |
416 int inlined_function_count_; | 419 int inlined_function_count_; |
417 Scope* const scope_; | 420 Scope* const scope_; |
418 Status status_; | 421 Status status_; |
419 TranslationBuffer translations_; | 422 TranslationBuffer translations_; |
420 ZoneList<LDeferredCode*> deferred_; | 423 ZoneList<LDeferredCode*> deferred_; |
421 int osr_pc_offset_; | 424 int osr_pc_offset_; |
422 int last_lazy_deopt_pc_; | 425 int last_lazy_deopt_pc_; |
423 bool frame_is_built_; | 426 bool frame_is_built_; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 LCodeGen* codegen_; | 508 LCodeGen* codegen_; |
506 Label entry_; | 509 Label entry_; |
507 Label exit_; | 510 Label exit_; |
508 Label* external_exit_; | 511 Label* external_exit_; |
509 int instruction_index_; | 512 int instruction_index_; |
510 }; | 513 }; |
511 | 514 |
512 } } // namespace v8::internal | 515 } } // namespace v8::internal |
513 | 516 |
514 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 517 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |