| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 V(ClampIToUint8) \ | 73 V(ClampIToUint8) \ |
| 74 V(ClampTToUint8) \ | 74 V(ClampTToUint8) \ |
| 75 V(ClampTToUint8NoSSE2) \ | 75 V(ClampTToUint8NoSSE2) \ |
| 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(CmpConstantEqAndBranch) \ | 81 V(CmpConstantEqAndBranch) \ |
| 82 V(ConstantD) \ | 82 V(ConstantD) \ |
| 83 V(ConstantE) \ |
| 83 V(ConstantI) \ | 84 V(ConstantI) \ |
| 84 V(ConstantS) \ | 85 V(ConstantS) \ |
| 85 V(ConstantT) \ | 86 V(ConstantT) \ |
| 86 V(Context) \ | 87 V(Context) \ |
| 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) \ |
| 92 V(DoubleToSmi) \ | 93 V(DoubleToSmi) \ |
| (...skipping 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1214 } | 1215 } |
| 1215 | 1216 |
| 1216 LOperand* temp() { return temps_[0]; } | 1217 LOperand* temp() { return temps_[0]; } |
| 1217 | 1218 |
| 1218 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") | 1219 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") |
| 1219 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1220 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1220 | 1221 |
| 1221 double value() const { return hydrogen()->DoubleValue(); } | 1222 double value() const { return hydrogen()->DoubleValue(); } |
| 1222 }; | 1223 }; |
| 1223 | 1224 |
| 1225 class LConstantE: public LTemplateInstruction<1, 0, 0> { |
| 1226 public: |
| 1227 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") |
| 1228 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1229 |
| 1230 ExternalReference value() const { return hydrogen()->ExternalValue(); } |
| 1231 }; |
| 1232 |
| 1224 | 1233 |
| 1225 class LConstantT: public LTemplateInstruction<1, 0, 0> { | 1234 class LConstantT: public LTemplateInstruction<1, 0, 0> { |
| 1226 public: | 1235 public: |
| 1227 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") | 1236 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") |
| 1228 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1237 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1229 | 1238 |
| 1230 Handle<Object> value() const { return hydrogen()->handle(); } | 1239 Handle<Object> value() const { return hydrogen()->handle(); } |
| 1231 }; | 1240 }; |
| 1232 | 1241 |
| 1233 | 1242 |
| (...skipping 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2954 | 2963 |
| 2955 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2964 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2956 }; | 2965 }; |
| 2957 | 2966 |
| 2958 #undef DECLARE_HYDROGEN_ACCESSOR | 2967 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2959 #undef DECLARE_CONCRETE_INSTRUCTION | 2968 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2960 | 2969 |
| 2961 } } // namespace v8::internal | 2970 } } // namespace v8::internal |
| 2962 | 2971 |
| 2963 #endif // V8_IA32_LITHIUM_IA32_H_ | 2972 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |