| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 V(CmpObjectEqAndBranch) \ | 85 V(CmpObjectEqAndBranch) \ |
| 86 V(CmpMapAndBranch) \ | 86 V(CmpMapAndBranch) \ |
| 87 V(CmpT) \ | 87 V(CmpT) \ |
| 88 V(ConstantD) \ | 88 V(ConstantD) \ |
| 89 V(ConstantI) \ | 89 V(ConstantI) \ |
| 90 V(ConstantS) \ | 90 V(ConstantS) \ |
| 91 V(ConstantT) \ | 91 V(ConstantT) \ |
| 92 V(Context) \ | 92 V(Context) \ |
| 93 V(DebugBreak) \ | 93 V(DebugBreak) \ |
| 94 V(DeclareGlobals) \ | 94 V(DeclareGlobals) \ |
| 95 V(DeleteProperty) \ | |
| 96 V(Deoptimize) \ | 95 V(Deoptimize) \ |
| 97 V(DivI) \ | 96 V(DivI) \ |
| 98 V(DoubleToI) \ | 97 V(DoubleToI) \ |
| 99 V(DoubleToSmi) \ | 98 V(DoubleToSmi) \ |
| 100 V(DummyUse) \ | 99 V(DummyUse) \ |
| 101 V(ElementsKind) \ | 100 V(ElementsKind) \ |
| 102 V(FunctionLiteral) \ | 101 V(FunctionLiteral) \ |
| 103 V(GetCachedArrayIndex) \ | 102 V(GetCachedArrayIndex) \ |
| 104 V(GlobalObject) \ | 103 V(GlobalObject) \ |
| 105 V(GlobalReceiver) \ | 104 V(GlobalReceiver) \ |
| 106 V(Goto) \ | 105 V(Goto) \ |
| 107 V(HasCachedArrayIndexAndBranch) \ | 106 V(HasCachedArrayIndexAndBranch) \ |
| 108 V(HasInstanceTypeAndBranch) \ | 107 V(HasInstanceTypeAndBranch) \ |
| 109 V(In) \ | |
| 110 V(InstanceOf) \ | 108 V(InstanceOf) \ |
| 111 V(InstanceOfKnownGlobal) \ | 109 V(InstanceOfKnownGlobal) \ |
| 112 V(InstanceSize) \ | 110 V(InstanceSize) \ |
| 113 V(InstructionGap) \ | 111 V(InstructionGap) \ |
| 114 V(Integer32ToDouble) \ | 112 V(Integer32ToDouble) \ |
| 115 V(Integer32ToSmi) \ | 113 V(Integer32ToSmi) \ |
| 116 V(Uint32ToDouble) \ | 114 V(Uint32ToDouble) \ |
| 117 V(InvokeFunction) \ | 115 V(InvokeFunction) \ |
| 118 V(IsConstructCallAndBranch) \ | 116 V(IsConstructCallAndBranch) \ |
| 119 V(IsObjectAndBranch) \ | 117 V(IsObjectAndBranch) \ |
| (...skipping 2412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2532 temps_[0] = temp; | 2530 temps_[0] = temp; |
| 2533 } | 2531 } |
| 2534 | 2532 |
| 2535 LOperand* temp() { return temps_[0]; } | 2533 LOperand* temp() { return temps_[0]; } |
| 2536 | 2534 |
| 2537 DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch, | 2535 DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch, |
| 2538 "is-construct-call-and-branch") | 2536 "is-construct-call-and-branch") |
| 2539 }; | 2537 }; |
| 2540 | 2538 |
| 2541 | 2539 |
| 2542 class LDeleteProperty: public LTemplateInstruction<1, 2, 0> { | |
| 2543 public: | |
| 2544 LDeleteProperty(LOperand* object, LOperand* key) { | |
| 2545 inputs_[0] = object; | |
| 2546 inputs_[1] = key; | |
| 2547 } | |
| 2548 | |
| 2549 LOperand* object() { return inputs_[0]; } | |
| 2550 LOperand* key() { return inputs_[1]; } | |
| 2551 | |
| 2552 DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property") | |
| 2553 }; | |
| 2554 | |
| 2555 | |
| 2556 class LOsrEntry: public LTemplateInstruction<0, 0, 0> { | 2540 class LOsrEntry: public LTemplateInstruction<0, 0, 0> { |
| 2557 public: | 2541 public: |
| 2558 LOsrEntry() {} | 2542 LOsrEntry() {} |
| 2559 | 2543 |
| 2560 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } | 2544 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } |
| 2561 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") | 2545 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") |
| 2562 }; | 2546 }; |
| 2563 | 2547 |
| 2564 | 2548 |
| 2565 class LStackCheck: public LTemplateInstruction<0, 0, 0> { | 2549 class LStackCheck: public LTemplateInstruction<0, 0, 0> { |
| 2566 public: | 2550 public: |
| 2567 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check") | 2551 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check") |
| 2568 DECLARE_HYDROGEN_ACCESSOR(StackCheck) | 2552 DECLARE_HYDROGEN_ACCESSOR(StackCheck) |
| 2569 | 2553 |
| 2570 Label* done_label() { return &done_label_; } | 2554 Label* done_label() { return &done_label_; } |
| 2571 | 2555 |
| 2572 private: | 2556 private: |
| 2573 Label done_label_; | 2557 Label done_label_; |
| 2574 }; | 2558 }; |
| 2575 | 2559 |
| 2576 | 2560 |
| 2577 class LIn: public LTemplateInstruction<1, 2, 0> { | |
| 2578 public: | |
| 2579 LIn(LOperand* key, LOperand* object) { | |
| 2580 inputs_[0] = key; | |
| 2581 inputs_[1] = object; | |
| 2582 } | |
| 2583 | |
| 2584 LOperand* key() { return inputs_[0]; } | |
| 2585 LOperand* object() { return inputs_[1]; } | |
| 2586 | |
| 2587 DECLARE_CONCRETE_INSTRUCTION(In, "in") | |
| 2588 }; | |
| 2589 | |
| 2590 | |
| 2591 class LForInPrepareMap: public LTemplateInstruction<1, 1, 0> { | 2561 class LForInPrepareMap: public LTemplateInstruction<1, 1, 0> { |
| 2592 public: | 2562 public: |
| 2593 explicit LForInPrepareMap(LOperand* object) { | 2563 explicit LForInPrepareMap(LOperand* object) { |
| 2594 inputs_[0] = object; | 2564 inputs_[0] = object; |
| 2595 } | 2565 } |
| 2596 | 2566 |
| 2597 LOperand* object() { return inputs_[0]; } | 2567 LOperand* object() { return inputs_[0]; } |
| 2598 | 2568 |
| 2599 DECLARE_CONCRETE_INSTRUCTION(ForInPrepareMap, "for-in-prepare-map") | 2569 DECLARE_CONCRETE_INSTRUCTION(ForInPrepareMap, "for-in-prepare-map") |
| 2600 }; | 2570 }; |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2824 | 2794 |
| 2825 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2795 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2826 }; | 2796 }; |
| 2827 | 2797 |
| 2828 #undef DECLARE_HYDROGEN_ACCESSOR | 2798 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2829 #undef DECLARE_CONCRETE_INSTRUCTION | 2799 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2830 | 2800 |
| 2831 } } // namespace v8::internal | 2801 } } // namespace v8::internal |
| 2832 | 2802 |
| 2833 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2803 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |