Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: src/mips/lithium-mips.h

Issue 19635002: MIPS: The gc should be able to traverse all AllocationSites for decision making. (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 V(Uint32ToDouble) \ 113 V(Uint32ToDouble) \
114 V(InvokeFunction) \ 114 V(InvokeFunction) \
115 V(IsConstructCallAndBranch) \ 115 V(IsConstructCallAndBranch) \
116 V(IsObjectAndBranch) \ 116 V(IsObjectAndBranch) \
117 V(IsStringAndBranch) \ 117 V(IsStringAndBranch) \
118 V(IsNumberAndBranch) \ 118 V(IsNumberAndBranch) \
119 V(IsSmiAndBranch) \ 119 V(IsSmiAndBranch) \
120 V(IsUndetectableAndBranch) \ 120 V(IsUndetectableAndBranch) \
121 V(Label) \ 121 V(Label) \
122 V(LazyBailout) \ 122 V(LazyBailout) \
123 V(LinkObjectInList) \
123 V(LoadContextSlot) \ 124 V(LoadContextSlot) \
124 V(LoadExternalArrayPointer) \ 125 V(LoadExternalArrayPointer) \
125 V(LoadFunctionPrototype) \ 126 V(LoadFunctionPrototype) \
126 V(LoadGlobalCell) \ 127 V(LoadGlobalCell) \
127 V(LoadGlobalGeneric) \ 128 V(LoadGlobalGeneric) \
128 V(LoadKeyed) \ 129 V(LoadKeyed) \
129 V(LoadKeyedGeneric) \ 130 V(LoadKeyedGeneric) \
130 V(LoadNamedField) \ 131 V(LoadNamedField) \
131 V(LoadNamedFieldPolymorphic) \ 132 V(LoadNamedFieldPolymorphic) \
132 V(LoadNamedGeneric) \ 133 V(LoadNamedGeneric) \
(...skipping 1522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1655 LOperand* value() { return inputs_[1]; } 1656 LOperand* value() { return inputs_[1]; }
1656 1657
1657 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") 1658 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic")
1658 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) 1659 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric)
1659 1660
1660 Handle<Object> name() const { return hydrogen()->name(); } 1661 Handle<Object> name() const { return hydrogen()->name(); }
1661 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } 1662 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
1662 }; 1663 };
1663 1664
1664 1665
1666 class LLinkObjectInList: public LTemplateInstruction<0, 1, 0> {
1667 public:
1668 explicit LLinkObjectInList(LOperand* object) {
1669 inputs_[0] = object;
1670 }
1671
1672 LOperand* object() { return inputs_[0]; }
1673
1674 ExternalReference GetReference(Isolate* isolate);
1675
1676 DECLARE_CONCRETE_INSTRUCTION(LinkObjectInList, "link-object-in-list")
1677 DECLARE_HYDROGEN_ACCESSOR(LinkObjectInList)
1678
1679 virtual void PrintDataTo(StringStream* stream);
1680 };
1681
1682
1665 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { 1683 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> {
1666 public: 1684 public:
1667 explicit LLoadContextSlot(LOperand* context) { 1685 explicit LLoadContextSlot(LOperand* context) {
1668 inputs_[0] = context; 1686 inputs_[0] = context;
1669 } 1687 }
1670 1688
1671 LOperand* context() { return inputs_[0]; } 1689 LOperand* context() { return inputs_[0]; }
1672 1690
1673 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") 1691 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
1674 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) 1692 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
2778 2796
2779 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2780 }; 2798 };
2781 2799
2782 #undef DECLARE_HYDROGEN_ACCESSOR 2800 #undef DECLARE_HYDROGEN_ACCESSOR
2783 #undef DECLARE_CONCRETE_INSTRUCTION 2801 #undef DECLARE_CONCRETE_INSTRUCTION
2784 2802
2785 } } // namespace v8::internal 2803 } } // namespace v8::internal
2786 2804
2787 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2805 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698