| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 V(StoreKeyedGeneric) \ | 158 V(StoreKeyedGeneric) \ |
| 159 V(StoreNamedField) \ | 159 V(StoreNamedField) \ |
| 160 V(StoreNamedGeneric) \ | 160 V(StoreNamedGeneric) \ |
| 161 V(StringAdd) \ | 161 V(StringAdd) \ |
| 162 V(StringCharCodeAt) \ | 162 V(StringCharCodeAt) \ |
| 163 V(StringCharFromCode) \ | 163 V(StringCharFromCode) \ |
| 164 V(StringCompareAndBranch) \ | 164 V(StringCompareAndBranch) \ |
| 165 V(SubI) \ | 165 V(SubI) \ |
| 166 V(TaggedToI) \ | 166 V(TaggedToI) \ |
| 167 V(ThisFunction) \ | 167 V(ThisFunction) \ |
| 168 V(Throw) \ | |
| 169 V(ToFastProperties) \ | 168 V(ToFastProperties) \ |
| 170 V(TransitionElementsKind) \ | 169 V(TransitionElementsKind) \ |
| 171 V(TrapAllocationMemento) \ | 170 V(TrapAllocationMemento) \ |
| 172 V(Typeof) \ | 171 V(Typeof) \ |
| 173 V(TypeofIsAndBranch) \ | 172 V(TypeofIsAndBranch) \ |
| 174 V(Uint32ToDouble) \ | 173 V(Uint32ToDouble) \ |
| 175 V(Uint32ToSmi) \ | 174 V(Uint32ToSmi) \ |
| 176 V(UnknownOSRValue) \ | 175 V(UnknownOSRValue) \ |
| 177 V(ValueOf) \ | 176 V(ValueOf) \ |
| 178 V(WrapReceiver) | 177 V(WrapReceiver) |
| (...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1308 | 1307 |
| 1309 LOperand* string() { return inputs_[1]; } | 1308 LOperand* string() { return inputs_[1]; } |
| 1310 LOperand* index() { return inputs_[2]; } | 1309 LOperand* index() { return inputs_[2]; } |
| 1311 LOperand* value() { return inputs_[3]; } | 1310 LOperand* value() { return inputs_[3]; } |
| 1312 | 1311 |
| 1313 DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char") | 1312 DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char") |
| 1314 DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar) | 1313 DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar) |
| 1315 }; | 1314 }; |
| 1316 | 1315 |
| 1317 | 1316 |
| 1318 class LThrow V8_FINAL : public LTemplateInstruction<0, 2, 0> { | |
| 1319 public: | |
| 1320 explicit LThrow(LOperand* context, LOperand* value) { | |
| 1321 inputs_[0] = context; | |
| 1322 inputs_[1] = value; | |
| 1323 } | |
| 1324 | |
| 1325 LOperand* context() { return inputs_[0]; } | |
| 1326 LOperand* value() { return inputs_[1]; } | |
| 1327 | |
| 1328 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw") | |
| 1329 }; | |
| 1330 | |
| 1331 | |
| 1332 class LAddI V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 1317 class LAddI V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
| 1333 public: | 1318 public: |
| 1334 LAddI(LOperand* left, LOperand* right) { | 1319 LAddI(LOperand* left, LOperand* right) { |
| 1335 inputs_[0] = left; | 1320 inputs_[0] = left; |
| 1336 inputs_[1] = right; | 1321 inputs_[1] = right; |
| 1337 } | 1322 } |
| 1338 | 1323 |
| 1339 LOperand* left() { return inputs_[0]; } | 1324 LOperand* left() { return inputs_[0]; } |
| 1340 LOperand* right() { return inputs_[1]; } | 1325 LOperand* right() { return inputs_[1]; } |
| 1341 | 1326 |
| (...skipping 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2693 | 2678 |
| 2694 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2679 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2695 }; | 2680 }; |
| 2696 | 2681 |
| 2697 #undef DECLARE_HYDROGEN_ACCESSOR | 2682 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2698 #undef DECLARE_CONCRETE_INSTRUCTION | 2683 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2699 | 2684 |
| 2700 } } // namespace v8::int | 2685 } } // namespace v8::int |
| 2701 | 2686 |
| 2702 #endif // V8_X64_LITHIUM_X64_H_ | 2687 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |