OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 explicit LCheckSmi(LOperand* value) { | 958 explicit LCheckSmi(LOperand* value) { |
959 inputs_[0] = value; | 959 inputs_[0] = value; |
960 } | 960 } |
961 | 961 |
962 LOperand* value() { return inputs_[0]; } | 962 LOperand* value() { return inputs_[0]; } |
963 | 963 |
964 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") | 964 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") |
965 }; | 965 }; |
966 | 966 |
967 | 967 |
968 class LCheckValue V8_FINAL : public LTemplateInstruction<0, 1, 1> { | 968 class LCheckValue V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
969 public: | 969 public: |
970 LCheckValue(LOperand* value, LOperand* temp) { | 970 explicit LCheckValue(LOperand* value) { |
971 inputs_[0] = value; | 971 inputs_[0] = value; |
972 temps_[0] = temp; | |
973 } | 972 } |
974 | 973 |
975 LOperand* value() { return inputs_[0]; } | 974 LOperand* value() { return inputs_[0]; } |
976 LOperand* temp() { return temps_[0]; } | |
977 | 975 |
978 DECLARE_CONCRETE_INSTRUCTION(CheckValue, "check-value") | 976 DECLARE_CONCRETE_INSTRUCTION(CheckValue, "check-value") |
979 DECLARE_HYDROGEN_ACCESSOR(CheckValue) | 977 DECLARE_HYDROGEN_ACCESSOR(CheckValue) |
980 }; | 978 }; |
981 | 979 |
982 | 980 |
983 class LClampDToUint8 V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 981 class LClampDToUint8 V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
984 public: | 982 public: |
985 explicit LClampDToUint8(LOperand* unclamped) { | 983 explicit LClampDToUint8(LOperand* unclamped) { |
986 inputs_[0] = unclamped; | 984 inputs_[0] = unclamped; |
(...skipping 2105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3092 | 3090 |
3093 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3091 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
3094 }; | 3092 }; |
3095 | 3093 |
3096 #undef DECLARE_HYDROGEN_ACCESSOR | 3094 #undef DECLARE_HYDROGEN_ACCESSOR |
3097 #undef DECLARE_CONCRETE_INSTRUCTION | 3095 #undef DECLARE_CONCRETE_INSTRUCTION |
3098 | 3096 |
3099 } } // namespace v8::internal | 3097 } } // namespace v8::internal |
3100 | 3098 |
3101 #endif // V8_A64_LITHIUM_A64_H_ | 3099 #endif // V8_A64_LITHIUM_A64_H_ |
OLD | NEW |