| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 V(CheckSmi) \ | 72 V(CheckSmi) \ |
| 73 V(ClampDToUint8) \ | 73 V(ClampDToUint8) \ |
| 74 V(ClampIToUint8) \ | 74 V(ClampIToUint8) \ |
| 75 V(ClampTToUint8) \ | 75 V(ClampTToUint8) \ |
| 76 V(ClassOfTestAndBranch) \ | 76 V(ClassOfTestAndBranch) \ |
| 77 V(CompareNumericAndBranch) \ | 77 V(CompareNumericAndBranch) \ |
| 78 V(CmpObjectEqAndBranch) \ | 78 V(CmpObjectEqAndBranch) \ |
| 79 V(CmpMapAndBranch) \ | 79 V(CmpMapAndBranch) \ |
| 80 V(CmpT) \ | 80 V(CmpT) \ |
| 81 V(ConstantD) \ | 81 V(ConstantD) \ |
| 82 V(ConstantE) \ |
| 82 V(ConstantI) \ | 83 V(ConstantI) \ |
| 83 V(ConstantS) \ | 84 V(ConstantS) \ |
| 84 V(ConstantT) \ | 85 V(ConstantT) \ |
| 85 V(Context) \ | 86 V(Context) \ |
| 86 V(DateField) \ | 87 V(DateField) \ |
| 87 V(DebugBreak) \ | 88 V(DebugBreak) \ |
| 88 V(DeclareGlobals) \ | 89 V(DeclareGlobals) \ |
| 89 V(Deoptimize) \ | 90 V(Deoptimize) \ |
| 90 V(DivI) \ | 91 V(DivI) \ |
| 91 V(DoubleToI) \ | 92 V(DoubleToI) \ |
| (...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1159 | 1160 |
| 1160 LOperand* temp() { return temps_[0]; } | 1161 LOperand* temp() { return temps_[0]; } |
| 1161 | 1162 |
| 1162 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") | 1163 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") |
| 1163 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1164 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1164 | 1165 |
| 1165 double value() const { return hydrogen()->DoubleValue(); } | 1166 double value() const { return hydrogen()->DoubleValue(); } |
| 1166 }; | 1167 }; |
| 1167 | 1168 |
| 1168 | 1169 |
| 1170 class LConstantE: public LTemplateInstruction<1, 0, 0> { |
| 1171 public: |
| 1172 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") |
| 1173 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1174 |
| 1175 ExternalReference value() const { |
| 1176 return hydrogen()->ExternalReferenceValue(); |
| 1177 } |
| 1178 }; |
| 1179 |
| 1180 |
| 1169 class LConstantT: public LTemplateInstruction<1, 0, 0> { | 1181 class LConstantT: public LTemplateInstruction<1, 0, 0> { |
| 1170 public: | 1182 public: |
| 1171 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") | 1183 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") |
| 1172 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1184 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1173 | 1185 |
| 1174 Handle<Object> value() const { return hydrogen()->handle(); } | 1186 Handle<Object> value() const { return hydrogen()->handle(); } |
| 1175 }; | 1187 }; |
| 1176 | 1188 |
| 1177 | 1189 |
| 1178 class LBranch: public LControlInstruction<1, 0> { | 1190 class LBranch: public LControlInstruction<1, 0> { |
| (...skipping 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2706 | 2718 |
| 2707 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2719 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2708 }; | 2720 }; |
| 2709 | 2721 |
| 2710 #undef DECLARE_HYDROGEN_ACCESSOR | 2722 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2711 #undef DECLARE_CONCRETE_INSTRUCTION | 2723 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2712 | 2724 |
| 2713 } } // namespace v8::int | 2725 } } // namespace v8::int |
| 2714 | 2726 |
| 2715 #endif // V8_X64_LITHIUM_X64_H_ | 2727 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |