| 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(CheckNonSmi) \ | 75 V(CheckNonSmi) \ |
| 76 V(CheckMaps) \ | 76 V(CheckMaps) \ |
| 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 2287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2377 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2376 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
| 2378 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2377 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
| 2379 | 2378 |
| 2380 ZoneList<Handle<JSObject> >* prototypes() const { | 2379 ZoneList<Handle<JSObject> >* prototypes() const { |
| 2381 return hydrogen()->prototypes(); | 2380 return hydrogen()->prototypes(); |
| 2382 } | 2381 } |
| 2383 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } | 2382 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } |
| 2384 }; | 2383 }; |
| 2385 | 2384 |
| 2386 | 2385 |
| 2387 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { | 2386 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { |
| 2388 public: | 2387 public: |
| 2389 explicit LCheckSmi(LOperand* value) { | 2388 explicit LCheckSmi(LOperand* value) { |
| 2390 inputs_[0] = value; | 2389 inputs_[0] = value; |
| 2391 } | 2390 } |
| 2392 | 2391 |
| 2393 LOperand* value() { return inputs_[0]; } | 2392 LOperand* value() { return inputs_[0]; } |
| 2394 | 2393 |
| 2395 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") | 2394 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") |
| 2396 }; | 2395 }; |
| 2397 | 2396 |
| 2398 | 2397 |
| 2399 class LCheckSmiAndReturn: public LTemplateInstruction<1, 1, 0> { | |
| 2400 public: | |
| 2401 explicit LCheckSmiAndReturn(LOperand* value) { | |
| 2402 inputs_[0] = value; | |
| 2403 } | |
| 2404 | |
| 2405 LOperand* value() { return inputs_[0]; } | |
| 2406 | |
| 2407 DECLARE_CONCRETE_INSTRUCTION(CheckSmiAndReturn, "check-smi-and-return") | |
| 2408 }; | |
| 2409 | |
| 2410 | |
| 2411 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { | 2398 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { |
| 2412 public: | 2399 public: |
| 2413 explicit LCheckNonSmi(LOperand* value) { | 2400 explicit LCheckNonSmi(LOperand* value) { |
| 2414 inputs_[0] = value; | 2401 inputs_[0] = value; |
| 2415 } | 2402 } |
| 2416 | 2403 |
| 2417 LOperand* value() { return inputs_[0]; } | 2404 LOperand* value() { return inputs_[0]; } |
| 2418 | 2405 |
| 2419 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2406 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
| 2420 }; | 2407 }; |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2864 | 2851 |
| 2865 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2852 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2866 }; | 2853 }; |
| 2867 | 2854 |
| 2868 #undef DECLARE_HYDROGEN_ACCESSOR | 2855 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2869 #undef DECLARE_CONCRETE_INSTRUCTION | 2856 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2870 | 2857 |
| 2871 } } // namespace v8::internal | 2858 } } // namespace v8::internal |
| 2872 | 2859 |
| 2873 #endif // V8_ARM_LITHIUM_ARM_H_ | 2860 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |