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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 } | 609 } |
610 | 610 |
611 LOperand* left() { return inputs_[0]; } | 611 LOperand* left() { return inputs_[0]; } |
612 LOperand* right() { return inputs_[1]; } | 612 LOperand* right() { return inputs_[1]; } |
613 | 613 |
614 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") | 614 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") |
615 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) | 615 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) |
616 | 616 |
617 Token::Value op() const { return hydrogen()->token(); } | 617 Token::Value op() const { return hydrogen()->token(); } |
618 bool is_double() const { | 618 bool is_double() const { |
619 return hydrogen()->GetInputRepresentation().IsDouble(); | 619 return hydrogen()->representation().IsDouble(); |
620 } | 620 } |
621 | 621 |
622 virtual void PrintDataTo(StringStream* stream); | 622 virtual void PrintDataTo(StringStream* stream); |
623 }; | 623 }; |
624 | 624 |
625 | 625 |
626 class LUnaryMathOperation: public LTemplateInstruction<1, 1, 1> { | 626 class LUnaryMathOperation: public LTemplateInstruction<1, 1, 1> { |
627 public: | 627 public: |
628 LUnaryMathOperation(LOperand* value, LOperand* temp) { | 628 LUnaryMathOperation(LOperand* value, LOperand* temp) { |
629 inputs_[0] = value; | 629 inputs_[0] = value; |
(...skipping 1871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2501 | 2501 |
2502 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2502 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2503 }; | 2503 }; |
2504 | 2504 |
2505 #undef DECLARE_HYDROGEN_ACCESSOR | 2505 #undef DECLARE_HYDROGEN_ACCESSOR |
2506 #undef DECLARE_CONCRETE_INSTRUCTION | 2506 #undef DECLARE_CONCRETE_INSTRUCTION |
2507 | 2507 |
2508 } } // namespace v8::internal | 2508 } } // namespace v8::internal |
2509 | 2509 |
2510 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2510 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |