OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 void CodeForSourcePosition(int pos); | 581 void CodeForSourcePosition(int pos); |
582 | 582 |
583 #ifdef DEBUG | 583 #ifdef DEBUG |
584 // True if the registers are valid for entry to a block. There should be | 584 // True if the registers are valid for entry to a block. There should be |
585 // no frame-external references to eax, ebx, ecx, edx, or edi. | 585 // no frame-external references to eax, ebx, ecx, edx, or edi. |
586 bool HasValidEntryRegisters(); | 586 bool HasValidEntryRegisters(); |
587 #endif | 587 #endif |
588 | 588 |
589 bool is_eval_; // Tells whether code is generated for eval. | 589 bool is_eval_; // Tells whether code is generated for eval. |
590 Handle<Script> script_; | 590 Handle<Script> script_; |
591 List<DeferredCode*> deferred_; | 591 ZoneList<DeferredCode*> deferred_; |
592 | 592 |
593 // Assembler | 593 // Assembler |
594 MacroAssembler* masm_; // to generate code | 594 MacroAssembler* masm_; // to generate code |
595 | 595 |
596 // Code generation state | 596 // Code generation state |
597 Scope* scope_; | 597 Scope* scope_; |
598 VirtualFrame* frame_; | 598 VirtualFrame* frame_; |
599 RegisterAllocator* allocator_; | 599 RegisterAllocator* allocator_; |
600 CodeGenState* state_; | 600 CodeGenState* state_; |
601 int loop_nesting_; | 601 int loop_nesting_; |
(...skipping 22 matching lines...) Expand all Loading... |
624 | 624 |
625 friend class CodeGeneratorPatcher; // Used in test-log-ia32.cc | 625 friend class CodeGeneratorPatcher; // Used in test-log-ia32.cc |
626 | 626 |
627 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 627 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
628 }; | 628 }; |
629 | 629 |
630 | 630 |
631 } } // namespace v8::internal | 631 } } // namespace v8::internal |
632 | 632 |
633 #endif // V8_IA32_CODEGEN_IA32_H_ | 633 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |