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

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

Issue 18173013: AllocationSite objects weakly linked for traversal (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed final nits 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 | Annotate | Revision Log
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 V(Uint32ToDouble) \ 114 V(Uint32ToDouble) \
115 V(InvokeFunction) \ 115 V(InvokeFunction) \
116 V(IsConstructCallAndBranch) \ 116 V(IsConstructCallAndBranch) \
117 V(IsObjectAndBranch) \ 117 V(IsObjectAndBranch) \
118 V(IsStringAndBranch) \ 118 V(IsStringAndBranch) \
119 V(IsSmiAndBranch) \ 119 V(IsSmiAndBranch) \
120 V(IsNumberAndBranch) \ 120 V(IsNumberAndBranch) \
121 V(IsUndetectableAndBranch) \ 121 V(IsUndetectableAndBranch) \
122 V(Label) \ 122 V(Label) \
123 V(LazyBailout) \ 123 V(LazyBailout) \
124 V(LinkObjectInList) \
124 V(LoadContextSlot) \ 125 V(LoadContextSlot) \
125 V(LoadExternalArrayPointer) \ 126 V(LoadExternalArrayPointer) \
126 V(LoadFunctionPrototype) \ 127 V(LoadFunctionPrototype) \
127 V(LoadGlobalCell) \ 128 V(LoadGlobalCell) \
128 V(LoadGlobalGeneric) \ 129 V(LoadGlobalGeneric) \
129 V(LoadKeyed) \ 130 V(LoadKeyed) \
130 V(LoadKeyedGeneric) \ 131 V(LoadKeyedGeneric) \
131 V(LoadNamedField) \ 132 V(LoadNamedField) \
132 V(LoadNamedFieldPolymorphic) \ 133 V(LoadNamedFieldPolymorphic) \
133 V(LoadNamedGeneric) \ 134 V(LoadNamedGeneric) \
(...skipping 1479 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 LOperand* value() { return inputs_[1]; } 1614 LOperand* value() { return inputs_[1]; }
1614 1615
1615 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") 1616 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic")
1616 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) 1617 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric)
1617 1618
1618 Handle<Object> name() const { return hydrogen()->name(); } 1619 Handle<Object> name() const { return hydrogen()->name(); }
1619 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } 1620 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
1620 }; 1621 };
1621 1622
1622 1623
1624 class LLinkObjectInList: public LTemplateInstruction<0, 1, 0> {
1625 public:
1626 explicit LLinkObjectInList(LOperand* object) {
1627 inputs_[0] = object;
1628 }
1629
1630 LOperand* object() { return inputs_[0]; }
1631
1632 ExternalReference GetReference(Isolate* isolate);
1633
1634 DECLARE_CONCRETE_INSTRUCTION(LinkObjectInList, "link-object-in-list")
1635 DECLARE_HYDROGEN_ACCESSOR(LinkObjectInList)
1636
1637 virtual void PrintDataTo(StringStream* stream);
1638 };
1639
1640
1623 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { 1641 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> {
1624 public: 1642 public:
1625 explicit LLoadContextSlot(LOperand* context) { 1643 explicit LLoadContextSlot(LOperand* context) {
1626 inputs_[0] = context; 1644 inputs_[0] = context;
1627 } 1645 }
1628 1646
1629 LOperand* context() { return inputs_[0]; } 1647 LOperand* context() { return inputs_[0]; }
1630 1648
1631 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") 1649 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
1632 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) 1650 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after
2708 2726
2709 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2727 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2710 }; 2728 };
2711 2729
2712 #undef DECLARE_HYDROGEN_ACCESSOR 2730 #undef DECLARE_HYDROGEN_ACCESSOR
2713 #undef DECLARE_CONCRETE_INSTRUCTION 2731 #undef DECLARE_CONCRETE_INSTRUCTION
2714 2732
2715 } } // namespace v8::int 2733 } } // namespace v8::int
2716 2734
2717 #endif // V8_X64_LITHIUM_X64_H_ 2735 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698