| 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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 // Code generation state | 615 // Code generation state |
| 616 Scope* scope_; | 616 Scope* scope_; |
| 617 VirtualFrame* frame_; | 617 VirtualFrame* frame_; |
| 618 RegisterAllocator* allocator_; | 618 RegisterAllocator* allocator_; |
| 619 CodeGenState* state_; | 619 CodeGenState* state_; |
| 620 int break_stack_height_; | 620 int break_stack_height_; |
| 621 int loop_nesting_; | 621 int loop_nesting_; |
| 622 | 622 |
| 623 // Jump targets. | 623 // Jump targets. |
| 624 // The target of the return from the function. | 624 // The target of the return from the function. |
| 625 JumpTarget function_return_; | 625 BreakTarget function_return_; |
| 626 | 626 |
| 627 // True if the function return is shadowed (ie, jumping to the target | 627 // True if the function return is shadowed (ie, jumping to the target |
| 628 // function_return_ does not jump to the true function return, but rather | 628 // function_return_ does not jump to the true function return, but rather |
| 629 // to some unlinking code). | 629 // to some unlinking code). |
| 630 bool function_return_is_shadowed_; | 630 bool function_return_is_shadowed_; |
| 631 | 631 |
| 632 // True when we are in code that expects the virtual frame to be fully | 632 // True when we are in code that expects the virtual frame to be fully |
| 633 // spilled. Some virtual frame function are disabled in DEBUG builds when | 633 // spilled. Some virtual frame function are disabled in DEBUG builds when |
| 634 // called from spilled code, because they do not leave the virtual frame | 634 // called from spilled code, because they do not leave the virtual frame |
| 635 // in a spilled state. | 635 // in a spilled state. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 649 cgen_->set_in_spilled_code(false); | 649 cgen_->set_in_spilled_code(false); |
| 650 GetValue(typeof_state); | 650 GetValue(typeof_state); |
| 651 cgen_->frame()->SpillAll(); | 651 cgen_->frame()->SpillAll(); |
| 652 cgen_->set_in_spilled_code(true); | 652 cgen_->set_in_spilled_code(true); |
| 653 } | 653 } |
| 654 | 654 |
| 655 | 655 |
| 656 } } // namespace v8::internal | 656 } } // namespace v8::internal |
| 657 | 657 |
| 658 #endif // V8_CODEGEN_IA32_H_ | 658 #endif // V8_CODEGEN_IA32_H_ |
| OLD | NEW |