| 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(DummyUse) \ | 92 V(DummyUse) \ |
| 93 V(Dummy) \ | 93 V(Dummy) \ |
| 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 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1229 explicit LMapEnumLength(LOperand* value) { | 1228 explicit LMapEnumLength(LOperand* value) { |
| 1230 inputs_[0] = value; | 1229 inputs_[0] = value; |
| 1231 } | 1230 } |
| 1232 | 1231 |
| 1233 LOperand* value() { return inputs_[0]; } | 1232 LOperand* value() { return inputs_[0]; } |
| 1234 | 1233 |
| 1235 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") | 1234 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") |
| 1236 }; | 1235 }; |
| 1237 | 1236 |
| 1238 | 1237 |
| 1239 class LElementsKind V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
| 1240 public: | |
| 1241 explicit LElementsKind(LOperand* value) { | |
| 1242 inputs_[0] = value; | |
| 1243 } | |
| 1244 | |
| 1245 LOperand* value() { return inputs_[0]; } | |
| 1246 | |
| 1247 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") | |
| 1248 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) | |
| 1249 }; | |
| 1250 | |
| 1251 | |
| 1252 class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1238 class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 1253 public: | 1239 public: |
| 1254 explicit LValueOf(LOperand* value) { | 1240 explicit LValueOf(LOperand* value) { |
| 1255 inputs_[0] = value; | 1241 inputs_[0] = value; |
| 1256 } | 1242 } |
| 1257 | 1243 |
| 1258 LOperand* value() { return inputs_[0]; } | 1244 LOperand* value() { return inputs_[0]; } |
| 1259 | 1245 |
| 1260 DECLARE_CONCRETE_INSTRUCTION(ValueOf, "value-of") | 1246 DECLARE_CONCRETE_INSTRUCTION(ValueOf, "value-of") |
| 1261 DECLARE_HYDROGEN_ACCESSOR(ValueOf) | 1247 DECLARE_HYDROGEN_ACCESSOR(ValueOf) |
| (...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2693 | 2679 |
| 2694 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2680 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2695 }; | 2681 }; |
| 2696 | 2682 |
| 2697 #undef DECLARE_HYDROGEN_ACCESSOR | 2683 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2698 #undef DECLARE_CONCRETE_INSTRUCTION | 2684 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2699 | 2685 |
| 2700 } } // namespace v8::int | 2686 } } // namespace v8::int |
| 2701 | 2687 |
| 2702 #endif // V8_X64_LITHIUM_X64_H_ | 2688 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |