| 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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 public: | 836 public: |
| 837 LBoundsCheck(LOperand* index, LOperand* length) { | 837 LBoundsCheck(LOperand* index, LOperand* length) { |
| 838 inputs_[0] = index; | 838 inputs_[0] = index; |
| 839 inputs_[1] = length; | 839 inputs_[1] = length; |
| 840 } | 840 } |
| 841 | 841 |
| 842 LOperand* index() { return inputs_[0]; } | 842 LOperand* index() { return inputs_[0]; } |
| 843 LOperand* length() { return inputs_[1]; } | 843 LOperand* length() { return inputs_[1]; } |
| 844 | 844 |
| 845 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check") | 845 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check") |
| 846 DECLARE_HYDROGEN_ACCESSOR(BoundsCheck) |
| 846 }; | 847 }; |
| 847 | 848 |
| 848 | 849 |
| 849 class LBitI: public LTemplateInstruction<1, 2, 0> { | 850 class LBitI: public LTemplateInstruction<1, 2, 0> { |
| 850 public: | 851 public: |
| 851 LBitI(LOperand* left, LOperand* right) { | 852 LBitI(LOperand* left, LOperand* right) { |
| 852 inputs_[0] = left; | 853 inputs_[0] = left; |
| 853 inputs_[1] = right; | 854 inputs_[1] = right; |
| 854 } | 855 } |
| 855 | 856 |
| (...skipping 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2350 | 2351 |
| 2351 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2352 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2352 }; | 2353 }; |
| 2353 | 2354 |
| 2354 #undef DECLARE_HYDROGEN_ACCESSOR | 2355 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2355 #undef DECLARE_CONCRETE_INSTRUCTION | 2356 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2356 | 2357 |
| 2357 } } // namespace v8::internal | 2358 } } // namespace v8::internal |
| 2358 | 2359 |
| 2359 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2360 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |