| 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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 | 554 |
| 555 | 555 |
| 556 class LCmpIDAndBranch: public LControlInstruction<2, 0> { | 556 class LCmpIDAndBranch: public LControlInstruction<2, 0> { |
| 557 public: | 557 public: |
| 558 LCmpIDAndBranch(LOperand* left, LOperand* right) { | 558 LCmpIDAndBranch(LOperand* left, LOperand* right) { |
| 559 inputs_[0] = left; | 559 inputs_[0] = left; |
| 560 inputs_[1] = right; | 560 inputs_[1] = right; |
| 561 } | 561 } |
| 562 | 562 |
| 563 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") | 563 DECLARE_CONCRETE_INSTRUCTION(CmpIDAndBranch, "cmp-id-and-branch") |
| 564 DECLARE_HYDROGEN_ACCESSOR(CompareIDAndBranch) | 564 DECLARE_HYDROGEN_ACCESSOR(CompareNumbersAndBranch) |
| 565 | 565 |
| 566 Token::Value op() const { return hydrogen()->token(); } | 566 Token::Value op() const { return hydrogen()->token(); } |
| 567 bool is_double() const { | 567 bool is_double() const { |
| 568 return hydrogen()->GetInputRepresentation().IsDouble(); | 568 return hydrogen()->GetInputRepresentation().IsDouble(); |
| 569 } | 569 } |
| 570 | 570 |
| 571 virtual void PrintDataTo(StringStream* stream); | 571 virtual void PrintDataTo(StringStream* stream); |
| 572 }; | 572 }; |
| 573 | 573 |
| 574 | 574 |
| (...skipping 1605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2180 | 2180 |
| 2181 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2181 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2182 }; | 2182 }; |
| 2183 | 2183 |
| 2184 #undef DECLARE_HYDROGEN_ACCESSOR | 2184 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2185 #undef DECLARE_CONCRETE_INSTRUCTION | 2185 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2186 | 2186 |
| 2187 } } // namespace v8::int | 2187 } } // namespace v8::int |
| 2188 | 2188 |
| 2189 #endif // V8_X64_LITHIUM_X64_H_ | 2189 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |