| 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 1606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1617 class LSmiTag: public LTemplateInstruction<1, 1, 0> { | 1617 class LSmiTag: public LTemplateInstruction<1, 1, 0> { |
| 1618 public: | 1618 public: |
| 1619 explicit LSmiTag(LOperand* value) { | 1619 explicit LSmiTag(LOperand* value) { |
| 1620 inputs_[0] = value; | 1620 inputs_[0] = value; |
| 1621 } | 1621 } |
| 1622 | 1622 |
| 1623 DECLARE_CONCRETE_INSTRUCTION(SmiTag, "smi-tag") | 1623 DECLARE_CONCRETE_INSTRUCTION(SmiTag, "smi-tag") |
| 1624 }; | 1624 }; |
| 1625 | 1625 |
| 1626 | 1626 |
| 1627 class LNumberUntagD: public LTemplateInstruction<1, 1, 0> { | 1627 class LNumberUntagD: public LTemplateInstruction<1, 1, 1> { |
| 1628 public: | 1628 public: |
| 1629 explicit LNumberUntagD(LOperand* value) { | 1629 explicit LNumberUntagD(LOperand* value, LOperand* temp) { |
| 1630 inputs_[0] = value; | 1630 inputs_[0] = value; |
| 1631 temps_[0] = temp; |
| 1631 } | 1632 } |
| 1632 | 1633 |
| 1633 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag") | 1634 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag") |
| 1634 DECLARE_HYDROGEN_ACCESSOR(Change); | 1635 DECLARE_HYDROGEN_ACCESSOR(Change); |
| 1635 }; | 1636 }; |
| 1636 | 1637 |
| 1637 | 1638 |
| 1638 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { | 1639 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { |
| 1639 public: | 1640 public: |
| 1640 LSmiUntag(LOperand* value, bool needs_check) | 1641 LSmiUntag(LOperand* value, bool needs_check) |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2387 | 2388 |
| 2388 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2389 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2389 }; | 2390 }; |
| 2390 | 2391 |
| 2391 #undef DECLARE_HYDROGEN_ACCESSOR | 2392 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2392 #undef DECLARE_CONCRETE_INSTRUCTION | 2393 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2393 | 2394 |
| 2394 } } // namespace v8::internal | 2395 } } // namespace v8::internal |
| 2395 | 2396 |
| 2396 #endif // V8_IA32_LITHIUM_IA32_H_ | 2397 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |