| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 V(CallNew) \ | 63 V(CallNew) \ |
| 64 V(CallNewArray) \ | 64 V(CallNewArray) \ |
| 65 V(CallRuntime) \ | 65 V(CallRuntime) \ |
| 66 V(CallStub) \ | 66 V(CallStub) \ |
| 67 V(CheckFunction) \ | 67 V(CheckFunction) \ |
| 68 V(CheckInstanceType) \ | 68 V(CheckInstanceType) \ |
| 69 V(CheckMaps) \ | 69 V(CheckMaps) \ |
| 70 V(CheckNonSmi) \ | 70 V(CheckNonSmi) \ |
| 71 V(CheckPrototypeMaps) \ | 71 V(CheckPrototypeMaps) \ |
| 72 V(CheckSmi) \ | 72 V(CheckSmi) \ |
| 73 V(CheckSmiAndReturn) \ | |
| 74 V(ClampDToUint8) \ | 73 V(ClampDToUint8) \ |
| 75 V(ClampIToUint8) \ | 74 V(ClampIToUint8) \ |
| 76 V(ClampTToUint8) \ | 75 V(ClampTToUint8) \ |
| 77 V(ClampTToUint8NoSSE2) \ | 76 V(ClampTToUint8NoSSE2) \ |
| 78 V(ClassOfTestAndBranch) \ | 77 V(ClassOfTestAndBranch) \ |
| 79 V(CmpIDAndBranch) \ | 78 V(CmpIDAndBranch) \ |
| 80 V(CmpObjectEqAndBranch) \ | 79 V(CmpObjectEqAndBranch) \ |
| 81 V(CmpMapAndBranch) \ | 80 V(CmpMapAndBranch) \ |
| 82 V(CmpT) \ | 81 V(CmpT) \ |
| 83 V(CmpConstantEqAndBranch) \ | 82 V(CmpConstantEqAndBranch) \ |
| (...skipping 2367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2451 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") | 2450 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") |
| 2452 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) | 2451 DECLARE_HYDROGEN_ACCESSOR(CheckPrototypeMaps) |
| 2453 | 2452 |
| 2454 ZoneList<Handle<JSObject> >* prototypes() const { | 2453 ZoneList<Handle<JSObject> >* prototypes() const { |
| 2455 return hydrogen()->prototypes(); | 2454 return hydrogen()->prototypes(); |
| 2456 } | 2455 } |
| 2457 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } | 2456 ZoneList<Handle<Map> >* maps() const { return hydrogen()->maps(); } |
| 2458 }; | 2457 }; |
| 2459 | 2458 |
| 2460 | 2459 |
| 2461 class LCheckSmi: public LTemplateInstruction<0, 1, 0> { | 2460 class LCheckSmi: public LTemplateInstruction<1, 1, 0> { |
| 2462 public: | 2461 public: |
| 2463 explicit LCheckSmi(LOperand* value) { | 2462 explicit LCheckSmi(LOperand* value) { |
| 2464 inputs_[0] = value; | 2463 inputs_[0] = value; |
| 2465 } | 2464 } |
| 2466 | 2465 |
| 2467 LOperand* value() { return inputs_[0]; } | 2466 LOperand* value() { return inputs_[0]; } |
| 2468 | 2467 |
| 2469 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") | 2468 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") |
| 2470 }; | 2469 }; |
| 2471 | 2470 |
| 2472 | 2471 |
| 2473 class LCheckSmiAndReturn: public LTemplateInstruction<1, 1, 0> { | |
| 2474 public: | |
| 2475 explicit LCheckSmiAndReturn(LOperand* value) { | |
| 2476 inputs_[0] = value; | |
| 2477 } | |
| 2478 | |
| 2479 LOperand* value() { return inputs_[0]; } | |
| 2480 | |
| 2481 DECLARE_CONCRETE_INSTRUCTION(CheckSmiAndReturn, "check-smi-and-return") | |
| 2482 }; | |
| 2483 | |
| 2484 | |
| 2485 class LClampDToUint8: public LTemplateInstruction<1, 1, 0> { | 2472 class LClampDToUint8: public LTemplateInstruction<1, 1, 0> { |
| 2486 public: | 2473 public: |
| 2487 explicit LClampDToUint8(LOperand* value) { | 2474 explicit LClampDToUint8(LOperand* value) { |
| 2488 inputs_[0] = value; | 2475 inputs_[0] = value; |
| 2489 } | 2476 } |
| 2490 | 2477 |
| 2491 LOperand* unclamped() { return inputs_[0]; } | 2478 LOperand* unclamped() { return inputs_[0]; } |
| 2492 | 2479 |
| 2493 DECLARE_CONCRETE_INSTRUCTION(ClampDToUint8, "clamp-d-to-uint8") | 2480 DECLARE_CONCRETE_INSTRUCTION(ClampDToUint8, "clamp-d-to-uint8") |
| 2494 }; | 2481 }; |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2983 | 2970 |
| 2984 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2971 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2985 }; | 2972 }; |
| 2986 | 2973 |
| 2987 #undef DECLARE_HYDROGEN_ACCESSOR | 2974 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2988 #undef DECLARE_CONCRETE_INSTRUCTION | 2975 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2989 | 2976 |
| 2990 } } // namespace v8::internal | 2977 } } // namespace v8::internal |
| 2991 | 2978 |
| 2992 #endif // V8_IA32_LITHIUM_IA32_H_ | 2979 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |