| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 V(CallNamed) \ | 61 V(CallNamed) \ |
| 62 V(CallNew) \ | 62 V(CallNew) \ |
| 63 V(CallNewArray) \ | 63 V(CallNewArray) \ |
| 64 V(CallRuntime) \ | 64 V(CallRuntime) \ |
| 65 V(CallStub) \ | 65 V(CallStub) \ |
| 66 V(CheckFunction) \ | 66 V(CheckFunction) \ |
| 67 V(CheckInstanceType) \ | 67 V(CheckInstanceType) \ |
| 68 V(CheckMaps) \ | 68 V(CheckMaps) \ |
| 69 V(CheckMapValue) \ | 69 V(CheckMapValue) \ |
| 70 V(CheckNonSmi) \ | 70 V(CheckNonSmi) \ |
| 71 V(CheckPrototypeMaps) \ | |
| 72 V(CheckSmi) \ | 71 V(CheckSmi) \ |
| 73 V(ClampDToUint8) \ | 72 V(ClampDToUint8) \ |
| 74 V(ClampIToUint8) \ | 73 V(ClampIToUint8) \ |
| 75 V(ClampTToUint8) \ | 74 V(ClampTToUint8) \ |
| 76 V(ClassOfTestAndBranch) \ | 75 V(ClassOfTestAndBranch) \ |
| 77 V(CompareNumericAndBranch) \ | 76 V(CompareNumericAndBranch) \ |
| 78 V(CmpObjectEqAndBranch) \ | 77 V(CmpObjectEqAndBranch) \ |
| 79 V(CmpMapAndBranch) \ | 78 V(CmpMapAndBranch) \ |
| 80 V(CmpT) \ | 79 V(CmpT) \ |
| 81 V(ConstantD) \ | 80 V(ConstantD) \ |
| (...skipping 2235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2317 inputs_[0] = value; | 2316 inputs_[0] = value; |
| 2318 } | 2317 } |
| 2319 | 2318 |
| 2320 LOperand* value() { return inputs_[0]; } | 2319 LOperand* value() { return inputs_[0]; } |
| 2321 | 2320 |
| 2322 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2321 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
| 2323 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2322 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
| 2324 }; | 2323 }; |
| 2325 | 2324 |
| 2326 | 2325 |
| 2327 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 2> { | |
| 2328 public: | |
| 2329 LCheckPrototypeMaps(LOperand* temp, LOperand* temp2) { | |
| 2330 temps_[0] = temp; | |
| 2331 temps_[1] = temp2; | |
| 2332 } | |
| 2333 | |
| 2334 LOperand* temp() { return temps_[0]; } | |
| 2335 LOperand* temp2() { return temps_[1]; } | |
| 2336 | |
| 2337 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | |
| 2338 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | |
| 2339 | |
| 2340 ZoneList<Handle<JSObject> >* prototypes() const { | |
| 2341 return hydrogen()->prototypes(); | |
| 2342 } | |
| 2343 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } | |
| 2344 }; | |
| 2345 | |
| 2346 | |
| 2347 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { | 2326 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { |
| 2348 public: | 2327 public: |
| 2349 explicit LCheckSmi(LOperand* value) { | 2328 explicit LCheckSmi(LOperand* value) { |
| 2350 inputs_[0] = value; | 2329 inputs_[0] = value; |
| 2351 } | 2330 } |
| 2352 | 2331 |
| 2353 LOperand* value() { return inputs_[0]; } | 2332 LOperand* value() { return inputs_[0]; } |
| 2354 | 2333 |
| 2355 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") | 2334 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") |
| 2356 }; | 2335 }; |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2752 | 2731 |
| 2753 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2732 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2754 }; | 2733 }; |
| 2755 | 2734 |
| 2756 #undef DECLARE_HYDROGEN_ACCESSOR | 2735 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2757 #undef DECLARE_CONCRETE_INSTRUCTION | 2736 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2758 | 2737 |
| 2759 } } // namespace v8::internal | 2738 } } // namespace v8::internal |
| 2760 | 2739 |
| 2761 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2740 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |