| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 V(MultiplyAddD) \ | 146 V(MultiplyAddD) \ |
| 147 V(NumberTagD) \ | 147 V(NumberTagD) \ |
| 148 V(NumberTagI) \ | 148 V(NumberTagI) \ |
| 149 V(NumberTagU) \ | 149 V(NumberTagU) \ |
| 150 V(NumberUntagD) \ | 150 V(NumberUntagD) \ |
| 151 V(OsrEntry) \ | 151 V(OsrEntry) \ |
| 152 V(OuterContext) \ | 152 V(OuterContext) \ |
| 153 V(Parameter) \ | 153 V(Parameter) \ |
| 154 V(Power) \ | 154 V(Power) \ |
| 155 V(PushArgument) \ | 155 V(PushArgument) \ |
| 156 V(Random) \ | |
| 157 V(RegExpLiteral) \ | 156 V(RegExpLiteral) \ |
| 158 V(Return) \ | 157 V(Return) \ |
| 159 V(SeqStringGetChar) \ | 158 V(SeqStringGetChar) \ |
| 160 V(SeqStringSetChar) \ | 159 V(SeqStringSetChar) \ |
| 161 V(ShiftI) \ | 160 V(ShiftI) \ |
| 162 V(SmiTag) \ | 161 V(SmiTag) \ |
| 163 V(SmiUntag) \ | 162 V(SmiUntag) \ |
| 164 V(StackCheck) \ | 163 V(StackCheck) \ |
| 165 V(StoreCodeEntry) \ | 164 V(StoreCodeEntry) \ |
| 166 V(StoreContextSlot) \ | 165 V(StoreContextSlot) \ |
| (...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1435 } | 1434 } |
| 1436 | 1435 |
| 1437 LOperand* left() { return inputs_[0]; } | 1436 LOperand* left() { return inputs_[0]; } |
| 1438 LOperand* right() { return inputs_[1]; } | 1437 LOperand* right() { return inputs_[1]; } |
| 1439 | 1438 |
| 1440 DECLARE_CONCRETE_INSTRUCTION(Power, "power") | 1439 DECLARE_CONCRETE_INSTRUCTION(Power, "power") |
| 1441 DECLARE_HYDROGEN_ACCESSOR(Power) | 1440 DECLARE_HYDROGEN_ACCESSOR(Power) |
| 1442 }; | 1441 }; |
| 1443 | 1442 |
| 1444 | 1443 |
| 1445 class LRandom V8_FINAL : public LTemplateInstruction<1, 1, 3> { | |
| 1446 public: | |
| 1447 LRandom(LOperand* global_object, | |
| 1448 LOperand* scratch, | |
| 1449 LOperand* scratch2, | |
| 1450 LOperand* scratch3) { | |
| 1451 inputs_[0] = global_object; | |
| 1452 temps_[0] = scratch; | |
| 1453 temps_[1] = scratch2; | |
| 1454 temps_[2] = scratch3; | |
| 1455 } | |
| 1456 | |
| 1457 LOperand* global_object() const { return inputs_[0]; } | |
| 1458 LOperand* scratch() const { return temps_[0]; } | |
| 1459 LOperand* scratch2() const { return temps_[1]; } | |
| 1460 LOperand* scratch3() const { return temps_[2]; } | |
| 1461 | |
| 1462 DECLARE_CONCRETE_INSTRUCTION(Random, "random") | |
| 1463 DECLARE_HYDROGEN_ACCESSOR(Random) | |
| 1464 }; | |
| 1465 | |
| 1466 | |
| 1467 class LArithmeticD V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 1444 class LArithmeticD V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
| 1468 public: | 1445 public: |
| 1469 LArithmeticD(Token::Value op, LOperand* left, LOperand* right) | 1446 LArithmeticD(Token::Value op, LOperand* left, LOperand* right) |
| 1470 : op_(op) { | 1447 : op_(op) { |
| 1471 inputs_[0] = left; | 1448 inputs_[0] = left; |
| 1472 inputs_[1] = right; | 1449 inputs_[1] = right; |
| 1473 } | 1450 } |
| 1474 | 1451 |
| 1475 Token::Value op() const { return op_; } | 1452 Token::Value op() const { return op_; } |
| 1476 LOperand* left() { return inputs_[0]; } | 1453 LOperand* left() { return inputs_[0]; } |
| (...skipping 1415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2892 | 2869 |
| 2893 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2870 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2894 }; | 2871 }; |
| 2895 | 2872 |
| 2896 #undef DECLARE_HYDROGEN_ACCESSOR | 2873 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2897 #undef DECLARE_CONCRETE_INSTRUCTION | 2874 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2898 | 2875 |
| 2899 } } // namespace v8::internal | 2876 } } // namespace v8::internal |
| 2900 | 2877 |
| 2901 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2878 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |