| 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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 // that do not correspond to an OSR entry. | 616 // that do not correspond to an OSR entry. |
| 617 LOperand** spilled_registers_; | 617 LOperand** spilled_registers_; |
| 618 LOperand** spilled_double_registers_; | 618 LOperand** spilled_double_registers_; |
| 619 | 619 |
| 620 LEnvironment* outer_; | 620 LEnvironment* outer_; |
| 621 HEnterInlined* entry_; | 621 HEnterInlined* entry_; |
| 622 | 622 |
| 623 Zone* zone_; | 623 Zone* zone_; |
| 624 }; | 624 }; |
| 625 | 625 |
| 626 class LDeoptCounterCell: public ZoneObject { |
| 627 public: |
| 628 LDeoptCounterCell(int id, |
| 629 int max_value, |
| 630 Handle<JSGlobalPropertyCell> cell) : id_(id), |
| 631 max_value_(max_value), |
| 632 cell_(cell) { |
| 633 } |
| 634 |
| 635 int id() { return id_; } |
| 636 int max_value() { return max_value_; } |
| 637 Handle<JSGlobalPropertyCell> cell() { return cell_; } |
| 638 |
| 639 private: |
| 640 int id_; |
| 641 int max_value_; |
| 642 Handle<JSGlobalPropertyCell> cell_; |
| 643 }; |
| 626 | 644 |
| 627 // Iterates over the non-null, non-constant operands in an environment. | 645 // Iterates over the non-null, non-constant operands in an environment. |
| 628 class ShallowIterator BASE_EMBEDDED { | 646 class ShallowIterator BASE_EMBEDDED { |
| 629 public: | 647 public: |
| 630 explicit ShallowIterator(LEnvironment* env) | 648 explicit ShallowIterator(LEnvironment* env) |
| 631 : env_(env), | 649 : env_(env), |
| 632 limit_(env != NULL ? env->values()->length() : 0), | 650 limit_(env != NULL ? env->values()->length() : 0), |
| 633 current_(0) { | 651 current_(0) { |
| 634 SkipUninteresting(); | 652 SkipUninteresting(); |
| 635 } | 653 } |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 enum NumberUntagDMode { | 788 enum NumberUntagDMode { |
| 771 NUMBER_CANDIDATE_IS_SMI, | 789 NUMBER_CANDIDATE_IS_SMI, |
| 772 NUMBER_CANDIDATE_IS_ANY_TAGGED, | 790 NUMBER_CANDIDATE_IS_ANY_TAGGED, |
| 773 NUMBER_CANDIDATE_IS_ANY_TAGGED_CONVERT_HOLE | 791 NUMBER_CANDIDATE_IS_ANY_TAGGED_CONVERT_HOLE |
| 774 }; | 792 }; |
| 775 | 793 |
| 776 | 794 |
| 777 } } // namespace v8::internal | 795 } } // namespace v8::internal |
| 778 | 796 |
| 779 #endif // V8_LITHIUM_H_ | 797 #endif // V8_LITHIUM_H_ |
| OLD | NEW |