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 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 public: | 850 public: |
851 LBoundsCheck(LOperand* index, LOperand* length) { | 851 LBoundsCheck(LOperand* index, LOperand* length) { |
852 inputs_[0] = index; | 852 inputs_[0] = index; |
853 inputs_[1] = length; | 853 inputs_[1] = length; |
854 } | 854 } |
855 | 855 |
856 LOperand* index() { return inputs_[0]; } | 856 LOperand* index() { return inputs_[0]; } |
857 LOperand* length() { return inputs_[1]; } | 857 LOperand* length() { return inputs_[1]; } |
858 | 858 |
859 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check") | 859 DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check") |
| 860 DECLARE_HYDROGEN_ACCESSOR(BoundsCheck) |
860 }; | 861 }; |
861 | 862 |
862 | 863 |
863 class LBitI: public LTemplateInstruction<1, 2, 0> { | 864 class LBitI: public LTemplateInstruction<1, 2, 0> { |
864 public: | 865 public: |
865 LBitI(LOperand* left, LOperand* right) { | 866 LBitI(LOperand* left, LOperand* right) { |
866 inputs_[0] = left; | 867 inputs_[0] = left; |
867 inputs_[1] = right; | 868 inputs_[1] = right; |
868 } | 869 } |
869 | 870 |
(...skipping 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2344 | 2345 |
2345 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2346 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2346 }; | 2347 }; |
2347 | 2348 |
2348 #undef DECLARE_HYDROGEN_ACCESSOR | 2349 #undef DECLARE_HYDROGEN_ACCESSOR |
2349 #undef DECLARE_CONCRETE_INSTRUCTION | 2350 #undef DECLARE_CONCRETE_INSTRUCTION |
2350 | 2351 |
2351 } } // namespace v8::int | 2352 } } // namespace v8::int |
2352 | 2353 |
2353 #endif // V8_X64_LITHIUM_X64_H_ | 2354 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |