| 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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 | 570 |
| 571 | 571 |
| 572 class LCmpIDAndBranch: public LControlInstruction<2, 0> { | 572 class LCmpIDAndBranch: public LControlInstruction<2, 0> { |
| 573 public: | 573 public: |
| 574 LCmpIDAndBranch(LOperand* left, LOperand* right) { | 574 LCmpIDAndBranch(LOperand* left, LOperand* right) { |
| 575 inputs_[0] = left; | 575 inputs_[0] = left; |
| 576 inputs_[1] = right; | 576 inputs_[1] = right; |
| 577 } | 577 } |
| 578 | 578 |
| 579 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") | 579 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") |
| 580 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) | 580 DECLARE_HYDROGEN_ACCESSOR(CompareNumbersAndBranch) |
| 581 | 581 |
| 582 Token::Value op() const { return hydrogen()->token(); } | 582 Token::Value op() const { return hydrogen()->token(); } |
| 583 bool is_double() const { | 583 bool is_double() const { |
| 584 return hydrogen()->GetInputRepresentation().IsDouble(); | 584 return hydrogen()->GetInputRepresentation().IsDouble(); |
| 585 } | 585 } |
| 586 | 586 |
| 587 virtual void PrintDataTo(StringStream* stream); | 587 virtual void PrintDataTo(StringStream* stream); |
| 588 }; | 588 }; |
| 589 | 589 |
| 590 | 590 |
| (...skipping 1606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2197 | 2197 |
| 2198 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2198 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2199 }; | 2199 }; |
| 2200 | 2200 |
| 2201 #undef DECLARE_HYDROGEN_ACCESSOR | 2201 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2202 #undef DECLARE_CONCRETE_INSTRUCTION | 2202 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2203 | 2203 |
| 2204 } } // namespace v8::internal | 2204 } } // namespace v8::internal |
| 2205 | 2205 |
| 2206 #endif // V8_ARM_LITHIUM_ARM_H_ | 2206 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |