| 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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 return spilled_double_registers_; | 551 return spilled_double_registers_; |
| 552 } | 552 } |
| 553 const ZoneList<LOperand*>* values() const { return &values_; } | 553 const ZoneList<LOperand*>* values() const { return &values_; } |
| 554 LEnvironment* outer() const { return outer_; } | 554 LEnvironment* outer() const { return outer_; } |
| 555 HEnterInlined* entry() { return entry_; } | 555 HEnterInlined* entry() { return entry_; } |
| 556 | 556 |
| 557 void AddValue(LOperand* operand, | 557 void AddValue(LOperand* operand, |
| 558 Representation representation, | 558 Representation representation, |
| 559 bool is_uint32) { | 559 bool is_uint32) { |
| 560 values_.Add(operand, zone()); | 560 values_.Add(operand, zone()); |
| 561 if (representation.IsTagged()) { | 561 if (representation.IsSmiOrTagged()) { |
| 562 ASSERT(!is_uint32); | 562 ASSERT(!is_uint32); |
| 563 is_tagged_.Add(values_.length() - 1); | 563 is_tagged_.Add(values_.length() - 1); |
| 564 } | 564 } |
| 565 | 565 |
| 566 if (is_uint32) { | 566 if (is_uint32) { |
| 567 is_uint32_.Add(values_.length() - 1); | 567 is_uint32_.Add(values_.length() - 1); |
| 568 } | 568 } |
| 569 } | 569 } |
| 570 | 570 |
| 571 bool HasTaggedValueAt(int index) const { | 571 bool HasTaggedValueAt(int index) const { |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 NUMBER_CANDIDATE_IS_SMI, | 771 NUMBER_CANDIDATE_IS_SMI, |
| 772 NUMBER_CANDIDATE_IS_SMI_OR_HOLE, | 772 NUMBER_CANDIDATE_IS_SMI_OR_HOLE, |
| 773 NUMBER_CANDIDATE_IS_SMI_CONVERT_HOLE, | 773 NUMBER_CANDIDATE_IS_SMI_CONVERT_HOLE, |
| 774 NUMBER_CANDIDATE_IS_ANY_TAGGED | 774 NUMBER_CANDIDATE_IS_ANY_TAGGED |
| 775 }; | 775 }; |
| 776 | 776 |
| 777 | 777 |
| 778 } } // namespace v8::internal | 778 } } // namespace v8::internal |
| 779 | 779 |
| 780 #endif // V8_LITHIUM_H_ | 780 #endif // V8_LITHIUM_H_ |
| OLD | NEW |