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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 current_block_(-1), | 54 current_block_(-1), |
55 current_instruction_(-1), | 55 current_instruction_(-1), |
56 instructions_(chunk->instructions()), | 56 instructions_(chunk->instructions()), |
57 deoptimizations_(4), | 57 deoptimizations_(4), |
58 deoptimization_literals_(8), | 58 deoptimization_literals_(8), |
59 inlined_function_count_(0), | 59 inlined_function_count_(0), |
60 scope_(info->scope()), | 60 scope_(info->scope()), |
61 status_(UNUSED), | 61 status_(UNUSED), |
62 translations_(zone), | 62 translations_(zone), |
63 deferred_(8), | 63 deferred_(8), |
| 64 dynamic_frame_alignment_(false), |
64 osr_pc_offset_(-1), | 65 osr_pc_offset_(-1), |
65 last_lazy_deopt_pc_(0), | 66 last_lazy_deopt_pc_(0), |
66 safepoints_(zone), | 67 safepoints_(zone), |
67 resolver_(this), | 68 resolver_(this), |
68 expected_safepoint_kind_(Safepoint::kSimple), | 69 expected_safepoint_kind_(Safepoint::kSimple), |
69 zone_(zone) { | 70 zone_(zone) { |
70 PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 71 PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
71 } | 72 } |
72 | 73 |
73 // Simple accessors. | 74 // Simple accessors. |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 int current_block_; | 336 int current_block_; |
336 int current_instruction_; | 337 int current_instruction_; |
337 const ZoneList<LInstruction*>* instructions_; | 338 const ZoneList<LInstruction*>* instructions_; |
338 ZoneList<LEnvironment*> deoptimizations_; | 339 ZoneList<LEnvironment*> deoptimizations_; |
339 ZoneList<Handle<Object> > deoptimization_literals_; | 340 ZoneList<Handle<Object> > deoptimization_literals_; |
340 int inlined_function_count_; | 341 int inlined_function_count_; |
341 Scope* const scope_; | 342 Scope* const scope_; |
342 Status status_; | 343 Status status_; |
343 TranslationBuffer translations_; | 344 TranslationBuffer translations_; |
344 ZoneList<LDeferredCode*> deferred_; | 345 ZoneList<LDeferredCode*> deferred_; |
| 346 bool dynamic_frame_alignment_; |
345 int osr_pc_offset_; | 347 int osr_pc_offset_; |
346 int last_lazy_deopt_pc_; | 348 int last_lazy_deopt_pc_; |
347 | 349 |
348 // Builder that keeps track of safepoints in the code. The table | 350 // Builder that keeps track of safepoints in the code. The table |
349 // itself is emitted at the end of the generated code. | 351 // itself is emitted at the end of the generated code. |
350 SafepointTableBuilder safepoints_; | 352 SafepointTableBuilder safepoints_; |
351 | 353 |
352 // Compiler from a set of parallel moves to a sequential list of moves. | 354 // Compiler from a set of parallel moves to a sequential list of moves. |
353 LGapResolver resolver_; | 355 LGapResolver resolver_; |
354 | 356 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 LCodeGen* codegen_; | 410 LCodeGen* codegen_; |
409 Label entry_; | 411 Label entry_; |
410 Label exit_; | 412 Label exit_; |
411 Label* external_exit_; | 413 Label* external_exit_; |
412 int instruction_index_; | 414 int instruction_index_; |
413 }; | 415 }; |
414 | 416 |
415 } } // namespace v8::internal | 417 } } // namespace v8::internal |
416 | 418 |
417 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 419 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |