| OLD | NEW |
| 1 // Copyright 2011 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 |
| 11 // with the distribution. | 11 // with the distribution. |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 V(NumberTagD) \ | 134 V(NumberTagD) \ |
| 135 V(NumberTagI) \ | 135 V(NumberTagI) \ |
| 136 V(NumberUntagD) \ | 136 V(NumberUntagD) \ |
| 137 V(ObjectLiteralFast) \ | 137 V(ObjectLiteralFast) \ |
| 138 V(ObjectLiteralGeneric) \ | 138 V(ObjectLiteralGeneric) \ |
| 139 V(OsrEntry) \ | 139 V(OsrEntry) \ |
| 140 V(OuterContext) \ | 140 V(OuterContext) \ |
| 141 V(Parameter) \ | 141 V(Parameter) \ |
| 142 V(Power) \ | 142 V(Power) \ |
| 143 V(PushArgument) \ | 143 V(PushArgument) \ |
| 144 V(Random) \ |
| 144 V(RegExpLiteral) \ | 145 V(RegExpLiteral) \ |
| 145 V(Return) \ | 146 V(Return) \ |
| 146 V(ShiftI) \ | 147 V(ShiftI) \ |
| 147 V(SmiTag) \ | 148 V(SmiTag) \ |
| 148 V(SmiUntag) \ | 149 V(SmiUntag) \ |
| 149 V(StackCheck) \ | 150 V(StackCheck) \ |
| 150 V(StoreContextSlot) \ | 151 V(StoreContextSlot) \ |
| 151 V(StoreGlobalCell) \ | 152 V(StoreGlobalCell) \ |
| 152 V(StoreGlobalGeneric) \ | 153 V(StoreGlobalGeneric) \ |
| 153 V(StoreKeyedFastDoubleElement) \ | 154 V(StoreKeyedFastDoubleElement) \ |
| (...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1019 LPower(LOperand* left, LOperand* right) { | 1020 LPower(LOperand* left, LOperand* right) { |
| 1020 inputs_[0] = left; | 1021 inputs_[0] = left; |
| 1021 inputs_[1] = right; | 1022 inputs_[1] = right; |
| 1022 } | 1023 } |
| 1023 | 1024 |
| 1024 DECLARE_CONCRETE_INSTRUCTION(Power, "power") | 1025 DECLARE_CONCRETE_INSTRUCTION(Power, "power") |
| 1025 DECLARE_HYDROGEN_ACCESSOR(Power) | 1026 DECLARE_HYDROGEN_ACCESSOR(Power) |
| 1026 }; | 1027 }; |
| 1027 | 1028 |
| 1028 | 1029 |
| 1030 class LRandom: public LTemplateInstruction<1, 1, 0> { |
| 1031 public: |
| 1032 explicit LRandom(LOperand* global_object) { |
| 1033 inputs_[0] = global_object; |
| 1034 } |
| 1035 |
| 1036 DECLARE_CONCRETE_INSTRUCTION(Random, "random") |
| 1037 DECLARE_HYDROGEN_ACCESSOR(Random) |
| 1038 }; |
| 1039 |
| 1040 |
| 1029 class LArithmeticD: public LTemplateInstruction<1, 2, 0> { | 1041 class LArithmeticD: public LTemplateInstruction<1, 2, 0> { |
| 1030 public: | 1042 public: |
| 1031 LArithmeticD(Token::Value op, LOperand* left, LOperand* right) | 1043 LArithmeticD(Token::Value op, LOperand* left, LOperand* right) |
| 1032 : op_(op) { | 1044 : op_(op) { |
| 1033 inputs_[0] = left; | 1045 inputs_[0] = left; |
| 1034 inputs_[1] = right; | 1046 inputs_[1] = right; |
| 1035 } | 1047 } |
| 1036 | 1048 |
| 1037 Token::Value op() const { return op_; } | 1049 Token::Value op() const { return op_; } |
| 1038 | 1050 |
| (...skipping 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2260 | 2272 |
| 2261 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2273 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2262 }; | 2274 }; |
| 2263 | 2275 |
| 2264 #undef DECLARE_HYDROGEN_ACCESSOR | 2276 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2265 #undef DECLARE_CONCRETE_INSTRUCTION | 2277 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2266 | 2278 |
| 2267 } } // namespace v8::internal | 2279 } } // namespace v8::internal |
| 2268 | 2280 |
| 2269 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2281 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |