| 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) \ |
| 79 V(ClampDToUint8) \ | 80 V(ClampDToUint8) \ |
| 80 V(ClampIToUint8) \ | 81 V(ClampIToUint8) \ |
| 81 V(ClampTToUint8) \ | 82 V(ClampTToUint8) \ |
| 82 V(ClassOfTestAndBranch) \ | 83 V(ClassOfTestAndBranch) \ |
| 83 V(CmpConstantEqAndBranch) \ | 84 V(CmpConstantEqAndBranch) \ |
| 84 V(CmpIDAndBranch) \ | 85 V(CmpIDAndBranch) \ |
| 85 V(CmpObjectEqAndBranch) \ | 86 V(CmpObjectEqAndBranch) \ |
| 86 V(CmpMapAndBranch) \ | 87 V(CmpMapAndBranch) \ |
| 87 V(CmpT) \ | 88 V(CmpT) \ |
| 88 V(ConstantD) \ | 89 V(ConstantD) \ |
| (...skipping 2291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2380 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2381 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
| 2381 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2382 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
| 2382 | 2383 |
| 2383 ZoneList<Handle<JSObject> >* prototypes() const { | 2384 ZoneList<Handle<JSObject> >* prototypes() const { |
| 2384 return hydrogen()->prototypes(); | 2385 return hydrogen()->prototypes(); |
| 2385 } | 2386 } |
| 2386 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } | 2387 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } |
| 2387 }; | 2388 }; |
| 2388 | 2389 |
| 2389 | 2390 |
| 2390 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { | 2391 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { |
| 2391 public: | 2392 public: |
| 2392 explicit LCheckSmi(LOperand* value) { | 2393 explicit LCheckSmi(LOperand* value) { |
| 2393 inputs_[0] = value; | 2394 inputs_[0] = value; |
| 2394 } | 2395 } |
| 2395 | 2396 |
| 2396 LOperand* value() { return inputs_[0]; } | 2397 LOperand* value() { return inputs_[0]; } |
| 2397 | 2398 |
| 2398 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") | 2399 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") |
| 2399 }; | 2400 }; |
| 2400 | 2401 |
| 2401 | 2402 |
| 2403 class LCheckSmiAndReturn: public LTemplateInstruction<1, 1, 0> { |
| 2404 public: |
| 2405 explicit LCheckSmiAndReturn(LOperand* value) { |
| 2406 inputs_[0] = value; |
| 2407 } |
| 2408 |
| 2409 LOperand* value() { return inputs_[0]; } |
| 2410 |
| 2411 DECLARE_CONCRETE_INSTRUCTION(CheckSmiAndReturn, "check-smi-and-return") |
| 2412 }; |
| 2413 |
| 2414 |
| 2402 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { | 2415 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { |
| 2403 public: | 2416 public: |
| 2404 explicit LCheckNonSmi(LOperand* value) { | 2417 explicit LCheckNonSmi(LOperand* value) { |
| 2405 inputs_[0] = value; | 2418 inputs_[0] = value; |
| 2406 } | 2419 } |
| 2407 | 2420 |
| 2408 LOperand* value() { return inputs_[0]; } | 2421 LOperand* value() { return inputs_[0]; } |
| 2409 | 2422 |
| 2410 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2423 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
| 2411 }; | 2424 }; |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2855 | 2868 |
| 2856 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2869 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2857 }; | 2870 }; |
| 2858 | 2871 |
| 2859 #undef DECLARE_HYDROGEN_ACCESSOR | 2872 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2860 #undef DECLARE_CONCRETE_INSTRUCTION | 2873 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2861 | 2874 |
| 2862 } } // namespace v8::internal | 2875 } } // namespace v8::internal |
| 2863 | 2876 |
| 2864 #endif // V8_ARM_LITHIUM_ARM_H_ | 2877 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |