| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 V(DateField) \ | 84 V(DateField) \ |
| 85 V(DebugBreak) \ | 85 V(DebugBreak) \ |
| 86 V(DeclareGlobals) \ | 86 V(DeclareGlobals) \ |
| 87 V(Deoptimize) \ | 87 V(Deoptimize) \ |
| 88 V(DivI) \ | 88 V(DivI) \ |
| 89 V(DoubleToI) \ | 89 V(DoubleToI) \ |
| 90 V(DoubleToSmi) \ | 90 V(DoubleToSmi) \ |
| 91 V(Drop) \ | 91 V(Drop) \ |
| 92 V(Dummy) \ | 92 V(Dummy) \ |
| 93 V(DummyUse) \ | 93 V(DummyUse) \ |
| 94 V(ElementsKind) \ | |
| 95 V(ForInCacheArray) \ | 94 V(ForInCacheArray) \ |
| 96 V(ForInPrepareMap) \ | 95 V(ForInPrepareMap) \ |
| 97 V(FunctionLiteral) \ | 96 V(FunctionLiteral) \ |
| 98 V(GetCachedArrayIndex) \ | 97 V(GetCachedArrayIndex) \ |
| 99 V(Goto) \ | 98 V(Goto) \ |
| 100 V(HasCachedArrayIndexAndBranch) \ | 99 V(HasCachedArrayIndexAndBranch) \ |
| 101 V(HasInstanceTypeAndBranch) \ | 100 V(HasInstanceTypeAndBranch) \ |
| 102 V(InnerAllocatedObject) \ | 101 V(InnerAllocatedObject) \ |
| 103 V(InstanceOf) \ | 102 V(InstanceOf) \ |
| 104 V(InstanceOfKnownGlobal) \ | 103 V(InstanceOfKnownGlobal) \ |
| (...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1268 explicit LMapEnumLength(LOperand* value) { | 1267 explicit LMapEnumLength(LOperand* value) { |
| 1269 inputs_[0] = value; | 1268 inputs_[0] = value; |
| 1270 } | 1269 } |
| 1271 | 1270 |
| 1272 LOperand* value() { return inputs_[0]; } | 1271 LOperand* value() { return inputs_[0]; } |
| 1273 | 1272 |
| 1274 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") | 1273 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") |
| 1275 }; | 1274 }; |
| 1276 | 1275 |
| 1277 | 1276 |
| 1278 class LElementsKind V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
| 1279 public: | |
| 1280 explicit LElementsKind(LOperand* value) { | |
| 1281 inputs_[0] = value; | |
| 1282 } | |
| 1283 | |
| 1284 LOperand* value() { return inputs_[0]; } | |
| 1285 | |
| 1286 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") | |
| 1287 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) | |
| 1288 }; | |
| 1289 | |
| 1290 | |
| 1291 class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 1> { | 1277 class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 1> { |
| 1292 public: | 1278 public: |
| 1293 LValueOf(LOperand* value, LOperand* temp) { | 1279 LValueOf(LOperand* value, LOperand* temp) { |
| 1294 inputs_[0] = value; | 1280 inputs_[0] = value; |
| 1295 temps_[0] = temp; | 1281 temps_[0] = temp; |
| 1296 } | 1282 } |
| 1297 | 1283 |
| 1298 LOperand* value() { return inputs_[0]; } | 1284 LOperand* value() { return inputs_[0]; } |
| 1299 LOperand* temp() { return temps_[0]; } | 1285 LOperand* temp() { return temps_[0]; } |
| 1300 | 1286 |
| (...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2740 | 2726 |
| 2741 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2727 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2742 }; | 2728 }; |
| 2743 | 2729 |
| 2744 #undef DECLARE_HYDROGEN_ACCESSOR | 2730 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2745 #undef DECLARE_CONCRETE_INSTRUCTION | 2731 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2746 | 2732 |
| 2747 } } // namespace v8::internal | 2733 } } // namespace v8::internal |
| 2748 | 2734 |
| 2749 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2735 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |