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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 } | 629 } |
630 | 630 |
631 LOperand* left() { return inputs_[0]; } | 631 LOperand* left() { return inputs_[0]; } |
632 LOperand* right() { return inputs_[1]; } | 632 LOperand* right() { return inputs_[1]; } |
633 | 633 |
634 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") | 634 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") |
635 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) | 635 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) |
636 | 636 |
637 Token::Value op() const { return hydrogen()->token(); } | 637 Token::Value op() const { return hydrogen()->token(); } |
638 bool is_double() const { | 638 bool is_double() const { |
639 return hydrogen()->GetInputRepresentation().IsDouble(); | 639 return hydrogen()->representation().IsDouble(); |
640 } | 640 } |
641 | 641 |
642 virtual void PrintDataTo(StringStream* stream); | 642 virtual void PrintDataTo(StringStream* stream); |
643 }; | 643 }; |
644 | 644 |
645 | 645 |
646 class LUnaryMathOperation: public LTemplateInstruction<1, 1, 1> { | 646 class LUnaryMathOperation: public LTemplateInstruction<1, 1, 1> { |
647 public: | 647 public: |
648 LUnaryMathOperation(LOperand* value, LOperand* temp) { | 648 LUnaryMathOperation(LOperand* value, LOperand* temp) { |
649 inputs_[0] = value; | 649 inputs_[0] = value; |
(...skipping 1874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2524 | 2524 |
2525 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2525 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2526 }; | 2526 }; |
2527 | 2527 |
2528 #undef DECLARE_HYDROGEN_ACCESSOR | 2528 #undef DECLARE_HYDROGEN_ACCESSOR |
2529 #undef DECLARE_CONCRETE_INSTRUCTION | 2529 #undef DECLARE_CONCRETE_INSTRUCTION |
2530 | 2530 |
2531 } } // namespace v8::internal | 2531 } } // namespace v8::internal |
2532 | 2532 |
2533 #endif // V8_ARM_LITHIUM_ARM_H_ | 2533 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |