| 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 2187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2269 inputs_[0] = value; | 2268 inputs_[0] = value; |
| 2270 } | 2269 } |
| 2271 | 2270 |
| 2272 LOperand* value() { return inputs_[0]; } | 2271 LOperand* value() { return inputs_[0]; } |
| 2273 | 2272 |
| 2274 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2273 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
| 2275 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2274 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
| 2276 }; | 2275 }; |
| 2277 | 2276 |
| 2278 | 2277 |
| 2279 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> { | |
| 2280 public: | |
| 2281 explicit LCheckPrototypeMaps(LOperand* temp) { | |
| 2282 temps_[0] = temp; | |
| 2283 } | |
| 2284 | |
| 2285 LOperand* temp() { return temps_[0]; } | |
| 2286 | |
| 2287 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | |
| 2288 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | |
| 2289 | |
| 2290 ZoneList<Handle<JSObject> >* prototypes() const { | |
| 2291 return hydrogen()->prototypes(); | |
| 2292 } | |
| 2293 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } | |
| 2294 }; | |
| 2295 | |
| 2296 | |
| 2297 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { | 2278 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { |
| 2298 public: | 2279 public: |
| 2299 explicit LCheckSmi(LOperand* value) { | 2280 explicit LCheckSmi(LOperand* value) { |
| 2300 inputs_[0] = value; | 2281 inputs_[0] = value; |
| 2301 } | 2282 } |
| 2302 | 2283 |
| 2303 LOperand* value() { return inputs_[0]; } | 2284 LOperand* value() { return inputs_[0]; } |
| 2304 | 2285 |
| 2305 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") | 2286 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") |
| 2306 }; | 2287 }; |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2700 | 2681 |
| 2701 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2682 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2702 }; | 2683 }; |
| 2703 | 2684 |
| 2704 #undef DECLARE_HYDROGEN_ACCESSOR | 2685 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2705 #undef DECLARE_CONCRETE_INSTRUCTION | 2686 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2706 | 2687 |
| 2707 } } // namespace v8::int | 2688 } } // namespace v8::int |
| 2708 | 2689 |
| 2709 #endif // V8_X64_LITHIUM_X64_H_ | 2690 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |