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

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

Issue 21345002: Get rid of HLinkObjectInList. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 V(Integer32ToSmi) \ 112 V(Integer32ToSmi) \
113 V(InvokeFunction) \ 113 V(InvokeFunction) \
114 V(IsConstructCallAndBranch) \ 114 V(IsConstructCallAndBranch) \
115 V(IsObjectAndBranch) \ 115 V(IsObjectAndBranch) \
116 V(IsStringAndBranch) \ 116 V(IsStringAndBranch) \
117 V(IsNumberAndBranch) \ 117 V(IsNumberAndBranch) \
118 V(IsSmiAndBranch) \ 118 V(IsSmiAndBranch) \
119 V(IsUndetectableAndBranch) \ 119 V(IsUndetectableAndBranch) \
120 V(Label) \ 120 V(Label) \
121 V(LazyBailout) \ 121 V(LazyBailout) \
122 V(LinkObjectInList) \
123 V(LoadContextSlot) \ 122 V(LoadContextSlot) \
124 V(LoadExternalArrayPointer) \ 123 V(LoadExternalArrayPointer) \
125 V(LoadFieldByIndex) \ 124 V(LoadFieldByIndex) \
126 V(LoadFunctionPrototype) \ 125 V(LoadFunctionPrototype) \
127 V(LoadGlobalCell) \ 126 V(LoadGlobalCell) \
128 V(LoadGlobalGeneric) \ 127 V(LoadGlobalGeneric) \
129 V(LoadKeyed) \ 128 V(LoadKeyed) \
130 V(LoadKeyedGeneric) \ 129 V(LoadKeyedGeneric) \
131 V(LoadNamedField) \ 130 V(LoadNamedField) \
132 V(LoadNamedFieldPolymorphic) \ 131 V(LoadNamedFieldPolymorphic) \
(...skipping 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1647 LOperand* value() { return inputs_[1]; } 1646 LOperand* value() { return inputs_[1]; }
1648 1647
1649 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") 1648 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic")
1650 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) 1649 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric)
1651 1650
1652 Handle<Object> name() const { return hydrogen()->name(); } 1651 Handle<Object> name() const { return hydrogen()->name(); }
1653 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } 1652 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
1654 }; 1653 };
1655 1654
1656 1655
1657 class LLinkObjectInList: public LTemplateInstruction<0, 1, 0> {
1658 public:
1659 explicit LLinkObjectInList(LOperand* object) {
1660 inputs_[0] = object;
1661 }
1662
1663 LOperand* object() { return inputs_[0]; }
1664
1665 ExternalReference GetReference(Isolate* isolate);
1666
1667 DECLARE_CONCRETE_INSTRUCTION(LinkObjectInList, "link-object-in-list")
1668 DECLARE_HYDROGEN_ACCESSOR(LinkObjectInList)
1669
1670 virtual void PrintDataTo(StringStream* stream);
1671 };
1672
1673
1674 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { 1656 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> {
1675 public: 1657 public:
1676 explicit LLoadContextSlot(LOperand* context) { 1658 explicit LLoadContextSlot(LOperand* context) {
1677 inputs_[0] = context; 1659 inputs_[0] = context;
1678 } 1660 }
1679 1661
1680 LOperand* context() { return inputs_[0]; } 1662 LOperand* context() { return inputs_[0]; }
1681 1663
1682 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") 1664 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
1683 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) 1665 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after
2784 2766
2785 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2767 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2786 }; 2768 };
2787 2769
2788 #undef DECLARE_HYDROGEN_ACCESSOR 2770 #undef DECLARE_HYDROGEN_ACCESSOR
2789 #undef DECLARE_CONCRETE_INSTRUCTION 2771 #undef DECLARE_CONCRETE_INSTRUCTION
2790 2772
2791 } } // namespace v8::internal 2773 } } // namespace v8::internal
2792 2774
2793 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2775 #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