OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1605 class LSmiTag: public LTemplateInstruction<1, 1, 0> { | 1605 class LSmiTag: public LTemplateInstruction<1, 1, 0> { |
1606 public: | 1606 public: |
1607 explicit LSmiTag(LOperand* value) { | 1607 explicit LSmiTag(LOperand* value) { |
1608 inputs_[0] = value; | 1608 inputs_[0] = value; |
1609 } | 1609 } |
1610 | 1610 |
1611 DECLARE_CONCRETE_INSTRUCTION(SmiTag, "smi-tag") | 1611 DECLARE_CONCRETE_INSTRUCTION(SmiTag, "smi-tag") |
1612 }; | 1612 }; |
1613 | 1613 |
1614 | 1614 |
1615 class LNumberUntagD: public LTemplateInstruction<1, 1, 0> { | 1615 class LNumberUntagD: public LTemplateInstruction<1, 1, 1> { |
1616 public: | 1616 public: |
1617 explicit LNumberUntagD(LOperand* value) { | 1617 explicit LNumberUntagD(LOperand* value, LOperand* temp) { |
1618 inputs_[0] = value; | 1618 inputs_[0] = value; |
| 1619 temps_[0] = temp; |
1619 } | 1620 } |
1620 | 1621 |
1621 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag") | 1622 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag") |
1622 DECLARE_HYDROGEN_ACCESSOR(Change); | 1623 DECLARE_HYDROGEN_ACCESSOR(Change); |
1623 }; | 1624 }; |
1624 | 1625 |
1625 | 1626 |
1626 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { | 1627 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { |
1627 public: | 1628 public: |
1628 LSmiUntag(LOperand* value, bool needs_check) | 1629 LSmiUntag(LOperand* value, bool needs_check) |
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2375 | 2376 |
2376 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2377 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2377 }; | 2378 }; |
2378 | 2379 |
2379 #undef DECLARE_HYDROGEN_ACCESSOR | 2380 #undef DECLARE_HYDROGEN_ACCESSOR |
2380 #undef DECLARE_CONCRETE_INSTRUCTION | 2381 #undef DECLARE_CONCRETE_INSTRUCTION |
2381 | 2382 |
2382 } } // namespace v8::internal | 2383 } } // namespace v8::internal |
2383 | 2384 |
2384 #endif // V8_IA32_LITHIUM_IA32_H_ | 2385 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |