| 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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 } | 607 } |
| 608 | 608 |
| 609 LOperand* left() { return inputs_[0]; } | 609 LOperand* left() { return inputs_[0]; } |
| 610 LOperand* right() { return inputs_[1]; } | 610 LOperand* right() { return inputs_[1]; } |
| 611 | 611 |
| 612 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") | 612 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") |
| 613 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) | 613 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) |
| 614 | 614 |
| 615 Token::Value op() const { return hydrogen()->token(); } | 615 Token::Value op() const { return hydrogen()->token(); } |
| 616 bool is_double() const { | 616 bool is_double() const { |
| 617 return hydrogen()->GetInputRepresentation().IsDouble(); | 617 return hydrogen()->representation().IsDouble(); |
| 618 } | 618 } |
| 619 | 619 |
| 620 virtual void PrintDataTo(StringStream* stream); | 620 virtual void PrintDataTo(StringStream* stream); |
| 621 }; | 621 }; |
| 622 | 622 |
| 623 | 623 |
| 624 class LUnaryMathOperation: public LTemplateInstruction<1, 2, 0> { | 624 class LUnaryMathOperation: public LTemplateInstruction<1, 2, 0> { |
| 625 public: | 625 public: |
| 626 LUnaryMathOperation(LOperand* context, LOperand* value) { | 626 LUnaryMathOperation(LOperand* context, LOperand* value) { |
| 627 inputs_[1] = context; | 627 inputs_[1] = context; |
| (...skipping 2027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2655 | 2655 |
| 2656 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2656 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2657 }; | 2657 }; |
| 2658 | 2658 |
| 2659 #undef DECLARE_HYDROGEN_ACCESSOR | 2659 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2660 #undef DECLARE_CONCRETE_INSTRUCTION | 2660 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2661 | 2661 |
| 2662 } } // namespace v8::internal | 2662 } } // namespace v8::internal |
| 2663 | 2663 |
| 2664 #endif // V8_IA32_LITHIUM_IA32_H_ | 2664 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |