| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 V(ElementsKind) \ | 101 V(ElementsKind) \ |
| 102 V(ForInCacheArray) \ | 102 V(ForInCacheArray) \ |
| 103 V(ForInPrepareMap) \ | 103 V(ForInPrepareMap) \ |
| 104 V(FunctionLiteral) \ | 104 V(FunctionLiteral) \ |
| 105 V(GetCachedArrayIndex) \ | 105 V(GetCachedArrayIndex) \ |
| 106 V(GlobalObject) \ | 106 V(GlobalObject) \ |
| 107 V(GlobalReceiver) \ | 107 V(GlobalReceiver) \ |
| 108 V(Goto) \ | 108 V(Goto) \ |
| 109 V(HasCachedArrayIndexAndBranch) \ | 109 V(HasCachedArrayIndexAndBranch) \ |
| 110 V(HasInstanceTypeAndBranch) \ | 110 V(HasInstanceTypeAndBranch) \ |
| 111 V(In) \ | |
| 112 V(InnerAllocatedObject) \ | 111 V(InnerAllocatedObject) \ |
| 113 V(InstanceOf) \ | 112 V(InstanceOf) \ |
| 114 V(InstanceOfKnownGlobal) \ | 113 V(InstanceOfKnownGlobal) \ |
| 115 V(InstanceSize) \ | 114 V(InstanceSize) \ |
| 116 V(InstructionGap) \ | 115 V(InstructionGap) \ |
| 117 V(Integer32ToDouble) \ | 116 V(Integer32ToDouble) \ |
| 118 V(Integer32ToSmi) \ | 117 V(Integer32ToSmi) \ |
| 119 V(InvokeFunction) \ | 118 V(InvokeFunction) \ |
| 120 V(IsConstructCallAndBranch) \ | 119 V(IsConstructCallAndBranch) \ |
| 121 V(IsNumberAndBranch) \ | 120 V(IsNumberAndBranch) \ |
| (...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1372 LOperand* temp() { return temps_[0]; } | 1371 LOperand* temp() { return temps_[0]; } |
| 1373 | 1372 |
| 1374 DECLARE_CONCRETE_INSTRUCTION(HasInstanceTypeAndBranch, | 1373 DECLARE_CONCRETE_INSTRUCTION(HasInstanceTypeAndBranch, |
| 1375 "has-instance-type-and-branch") | 1374 "has-instance-type-and-branch") |
| 1376 DECLARE_HYDROGEN_ACCESSOR(HasInstanceTypeAndBranch) | 1375 DECLARE_HYDROGEN_ACCESSOR(HasInstanceTypeAndBranch) |
| 1377 | 1376 |
| 1378 virtual void PrintDataTo(StringStream* stream); | 1377 virtual void PrintDataTo(StringStream* stream); |
| 1379 }; | 1378 }; |
| 1380 | 1379 |
| 1381 | 1380 |
| 1382 class LIn: public LTemplateInstruction<1, 2, 0> { | |
| 1383 public: | |
| 1384 LIn(LOperand* key, LOperand* object) { | |
| 1385 inputs_[0] = key; | |
| 1386 inputs_[1] = object; | |
| 1387 } | |
| 1388 | |
| 1389 LOperand* key() { return inputs_[0]; } | |
| 1390 LOperand* object() { return inputs_[1]; } | |
| 1391 | |
| 1392 DECLARE_CONCRETE_INSTRUCTION(In, "in") | |
| 1393 }; | |
| 1394 | |
| 1395 | |
| 1396 class LInnerAllocatedObject: public LTemplateInstruction<1, 1, 0> { | 1381 class LInnerAllocatedObject: public LTemplateInstruction<1, 1, 0> { |
| 1397 public: | 1382 public: |
| 1398 explicit LInnerAllocatedObject(LOperand* base_object) { | 1383 explicit LInnerAllocatedObject(LOperand* base_object) { |
| 1399 inputs_[0] = base_object; | 1384 inputs_[0] = base_object; |
| 1400 } | 1385 } |
| 1401 | 1386 |
| 1402 LOperand* base_object() { return inputs_[0]; } | 1387 LOperand* base_object() { return inputs_[0]; } |
| 1403 int offset() { return hydrogen()->offset(); } | 1388 int offset() { return hydrogen()->offset(); } |
| 1404 | 1389 |
| 1405 virtual void PrintDataTo(StringStream* stream); | 1390 virtual void PrintDataTo(StringStream* stream); |
| (...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2899 | 2884 |
| 2900 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2885 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2901 }; | 2886 }; |
| 2902 | 2887 |
| 2903 #undef DECLARE_HYDROGEN_ACCESSOR | 2888 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2904 #undef DECLARE_CONCRETE_INSTRUCTION | 2889 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2905 | 2890 |
| 2906 } } // namespace v8::internal | 2891 } } // namespace v8::internal |
| 2907 | 2892 |
| 2908 #endif // V8_A64_LITHIUM_A64_H_ | 2893 #endif // V8_A64_LITHIUM_A64_H_ |
| OLD | NEW |