| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 V(CallNew) \ | 69 V(CallNew) \ |
| 70 V(CallNewArray) \ | 70 V(CallNewArray) \ |
| 71 V(CallRuntime) \ | 71 V(CallRuntime) \ |
| 72 V(CallStub) \ | 72 V(CallStub) \ |
| 73 V(CheckFunction) \ | 73 V(CheckFunction) \ |
| 74 V(CheckInstanceType) \ | 74 V(CheckInstanceType) \ |
| 75 V(CheckMaps) \ | 75 V(CheckMaps) \ |
| 76 V(CheckNonSmi) \ | 76 V(CheckNonSmi) \ |
| 77 V(CheckPrototypeMaps) \ | 77 V(CheckPrototypeMaps) \ |
| 78 V(CheckSmi) \ | 78 V(CheckSmi) \ |
| 79 V(CheckSmiAndReturn) \ | |
| 80 V(ClampDToUint8) \ | 79 V(ClampDToUint8) \ |
| 81 V(ClampIToUint8) \ | 80 V(ClampIToUint8) \ |
| 82 V(ClampTToUint8) \ | 81 V(ClampTToUint8) \ |
| 83 V(ClassOfTestAndBranch) \ | 82 V(ClassOfTestAndBranch) \ |
| 84 V(CmpConstantEqAndBranch) \ | 83 V(CmpConstantEqAndBranch) \ |
| 85 V(CmpIDAndBranch) \ | 84 V(CmpIDAndBranch) \ |
| 86 V(CmpObjectEqAndBranch) \ | 85 V(CmpObjectEqAndBranch) \ |
| 87 V(CmpMapAndBranch) \ | 86 V(CmpMapAndBranch) \ |
| 88 V(CmpT) \ | 87 V(CmpT) \ |
| 89 V(ConstantD) \ | 88 V(ConstantD) \ |
| (...skipping 2194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2284 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2283 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
| 2285 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2284 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
| 2286 | 2285 |
| 2287 ZoneList<Handle<JSObject> >* prototypes() const { | 2286 ZoneList<Handle<JSObject> >* prototypes() const { |
| 2288 return hydrogen()->prototypes(); | 2287 return hydrogen()->prototypes(); |
| 2289 } | 2288 } |
| 2290 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } | 2289 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } |
| 2291 }; | 2290 }; |
| 2292 | 2291 |
| 2293 | 2292 |
| 2294 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { | 2293 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { |
| 2295 public: | 2294 public: |
| 2296 explicit LCheckSmi(LOperand* value) { | 2295 explicit LCheckSmi(LOperand* value) { |
| 2297 inputs_[0] = value; | 2296 inputs_[0] = value; |
| 2298 } | 2297 } |
| 2299 | 2298 |
| 2300 LOperand* value() { return inputs_[0]; } | 2299 LOperand* value() { return inputs_[0]; } |
| 2301 | 2300 |
| 2302 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") | 2301 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") |
| 2303 }; | 2302 }; |
| 2304 | 2303 |
| 2305 | 2304 |
| 2306 class LCheckSmiAndReturn: public LTemplateInstruction<1, 1, 0> { | |
| 2307 public: | |
| 2308 explicit LCheckSmiAndReturn(LOperand* value) { | |
| 2309 inputs_[0] = value; | |
| 2310 } | |
| 2311 | |
| 2312 LOperand* value() { return inputs_[0]; } | |
| 2313 | |
| 2314 DECLARE_CONCRETE_INSTRUCTION(CheckSmiAndReturn, "check-smi-and-return") | |
| 2315 }; | |
| 2316 | |
| 2317 | |
| 2318 class LClampDToUint8: public LTemplateInstruction<1, 1, 0> { | 2305 class LClampDToUint8: public LTemplateInstruction<1, 1, 0> { |
| 2319 public: | 2306 public: |
| 2320 explicit LClampDToUint8(LOperand* unclamped) { | 2307 explicit LClampDToUint8(LOperand* unclamped) { |
| 2321 inputs_[0] = unclamped; | 2308 inputs_[0] = unclamped; |
| 2322 } | 2309 } |
| 2323 | 2310 |
| 2324 LOperand* unclamped() { return inputs_[0]; } | 2311 LOperand* unclamped() { return inputs_[0]; } |
| 2325 | 2312 |
| 2326 DECLARE_CONCRETE_INSTRUCTION(ClampDToUint8, "clamp-d-to-uint8") | 2313 DECLARE_CONCRETE_INSTRUCTION(ClampDToUint8, "clamp-d-to-uint8") |
| 2327 }; | 2314 }; |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2752 | 2739 |
| 2753 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2740 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2754 }; | 2741 }; |
| 2755 | 2742 |
| 2756 #undef DECLARE_HYDROGEN_ACCESSOR | 2743 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2757 #undef DECLARE_CONCRETE_INSTRUCTION | 2744 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2758 | 2745 |
| 2759 } } // namespace v8::int | 2746 } } // namespace v8::int |
| 2760 | 2747 |
| 2761 #endif // V8_X64_LITHIUM_X64_H_ | 2748 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |