| 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(CheckNonSmi) \ | 68 V(CheckNonSmi) \ |
| 69 V(CheckMaps) \ | 69 V(CheckMaps) \ |
| 70 V(CheckMapValue) \ | 70 V(CheckMapValue) \ |
| 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 2277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2359 inputs_[0] = value; | 2358 inputs_[0] = value; |
| 2360 } | 2359 } |
| 2361 | 2360 |
| 2362 LOperand* value() { return inputs_[0]; } | 2361 LOperand* value() { return inputs_[0]; } |
| 2363 | 2362 |
| 2364 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2363 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
| 2365 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2364 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
| 2366 }; | 2365 }; |
| 2367 | 2366 |
| 2368 | 2367 |
| 2369 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 2> { | |
| 2370 public: | |
| 2371 LCheckPrototypeMaps(LOperand* temp, LOperand* temp2) { | |
| 2372 temps_[0] = temp; | |
| 2373 temps_[1] = temp2; | |
| 2374 } | |
| 2375 | |
| 2376 LOperand* temp() { return temps_[0]; } | |
| 2377 LOperand* temp2() { return temps_[1]; } | |
| 2378 | |
| 2379 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | |
| 2380 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | |
| 2381 | |
| 2382 ZoneList<Handle<JSObject> >* prototypes() const { | |
| 2383 return hydrogen()->prototypes(); | |
| 2384 } | |
| 2385 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } | |
| 2386 }; | |
| 2387 | |
| 2388 | |
| 2389 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { | 2368 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { |
| 2390 public: | 2369 public: |
| 2391 explicit LCheckSmi(LOperand* value) { | 2370 explicit LCheckSmi(LOperand* value) { |
| 2392 inputs_[0] = value; | 2371 inputs_[0] = value; |
| 2393 } | 2372 } |
| 2394 | 2373 |
| 2395 LOperand* value() { return inputs_[0]; } | 2374 LOperand* value() { return inputs_[0]; } |
| 2396 | 2375 |
| 2397 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") | 2376 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") |
| 2398 }; | 2377 }; |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2793 | 2772 |
| 2794 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2773 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2795 }; | 2774 }; |
| 2796 | 2775 |
| 2797 #undef DECLARE_HYDROGEN_ACCESSOR | 2776 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2798 #undef DECLARE_CONCRETE_INSTRUCTION | 2777 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2799 | 2778 |
| 2800 } } // namespace v8::internal | 2779 } } // namespace v8::internal |
| 2801 | 2780 |
| 2802 #endif // V8_ARM_LITHIUM_ARM_H_ | 2781 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |