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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 public: | 852 public: |
853 LBoundsCheck(LOperand* index, LOperand* length) { | 853 LBoundsCheck(LOperand* index, LOperand* length) { |
854 inputs_[0] = index; | 854 inputs_[0] = index; |
855 inputs_[1] = length; | 855 inputs_[1] = length; |
856 } | 856 } |
857 | 857 |
858 LOperand* index() { return inputs_[0]; } | 858 LOperand* index() { return inputs_[0]; } |
859 LOperand* length() { return inputs_[1]; } | 859 LOperand* length() { return inputs_[1]; } |
860 | 860 |
861 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check") | 861 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check") |
| 862 DECLARE_HYDROGEN_ACCESSOR(BoundsCheck) |
862 }; | 863 }; |
863 | 864 |
864 | 865 |
865 class LBitI: public LTemplateInstruction<1, 2, 0> { | 866 class LBitI: public LTemplateInstruction<1, 2, 0> { |
866 public: | 867 public: |
867 LBitI(LOperand* left, LOperand* right) { | 868 LBitI(LOperand* left, LOperand* right) { |
868 inputs_[0] = left; | 869 inputs_[0] = left; |
869 inputs_[1] = right; | 870 inputs_[1] = right; |
870 } | 871 } |
871 | 872 |
(...skipping 1515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2387 | 2388 |
2388 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2389 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2389 }; | 2390 }; |
2390 | 2391 |
2391 #undef DECLARE_HYDROGEN_ACCESSOR | 2392 #undef DECLARE_HYDROGEN_ACCESSOR |
2392 #undef DECLARE_CONCRETE_INSTRUCTION | 2393 #undef DECLARE_CONCRETE_INSTRUCTION |
2393 | 2394 |
2394 } } // namespace v8::internal | 2395 } } // namespace v8::internal |
2395 | 2396 |
2396 #endif // V8_ARM_LITHIUM_ARM_H_ | 2397 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |