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

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

Issue 142893003: Merge bleeding_edge 18658:18677 (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 11 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/arm/ic-arm.cc ('k') | src/arm/lithium-arm.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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 V(Return) \ 153 V(Return) \
154 V(SeqStringGetChar) \ 154 V(SeqStringGetChar) \
155 V(SeqStringSetChar) \ 155 V(SeqStringSetChar) \
156 V(ShiftI) \ 156 V(ShiftI) \
157 V(SmiTag) \ 157 V(SmiTag) \
158 V(SmiUntag) \ 158 V(SmiUntag) \
159 V(StackCheck) \ 159 V(StackCheck) \
160 V(StoreCodeEntry) \ 160 V(StoreCodeEntry) \
161 V(StoreContextSlot) \ 161 V(StoreContextSlot) \
162 V(StoreGlobalCell) \ 162 V(StoreGlobalCell) \
163 V(StoreGlobalGeneric) \
164 V(StoreKeyed) \ 163 V(StoreKeyed) \
165 V(StoreKeyedGeneric) \ 164 V(StoreKeyedGeneric) \
166 V(StoreNamedField) \ 165 V(StoreNamedField) \
167 V(StoreNamedGeneric) \ 166 V(StoreNamedGeneric) \
168 V(StringAdd) \ 167 V(StringAdd) \
169 V(StringCharCodeAt) \ 168 V(StringCharCodeAt) \
170 V(StringCharFromCode) \ 169 V(StringCharFromCode) \
171 V(StringCompareAndBranch) \ 170 V(StringCompareAndBranch) \
172 V(SubI) \ 171 V(SubI) \
173 V(RSubI) \ 172 V(RSubI) \
(...skipping 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1659 } 1658 }
1660 1659
1661 LOperand* value() { return inputs_[0]; } 1660 LOperand* value() { return inputs_[0]; }
1662 LOperand* temp() { return temps_[0]; } 1661 LOperand* temp() { return temps_[0]; }
1663 1662
1664 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell") 1663 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell")
1665 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell) 1664 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell)
1666 }; 1665 };
1667 1666
1668 1667
1669 class LStoreGlobalGeneric V8_FINAL : public LTemplateInstruction<0, 3, 0> {
1670 public:
1671 LStoreGlobalGeneric(LOperand* context,
1672 LOperand* global_object,
1673 LOperand* value) {
1674 inputs_[0] = context;
1675 inputs_[1] = global_object;
1676 inputs_[2] = value;
1677 }
1678
1679 LOperand* context() { return inputs_[0]; }
1680 LOperand* global_object() { return inputs_[1]; }
1681 LOperand* value() { return inputs_[2]; }
1682
1683 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic")
1684 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric)
1685
1686 Handle<Object> name() const { return hydrogen()->name(); }
1687 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
1688 };
1689
1690
1691 class LLoadContextSlot V8_FINAL : public LTemplateInstruction<1, 1, 0> { 1668 class LLoadContextSlot V8_FINAL : public LTemplateInstruction<1, 1, 0> {
1692 public: 1669 public:
1693 explicit LLoadContextSlot(LOperand* context) { 1670 explicit LLoadContextSlot(LOperand* context) {
1694 inputs_[0] = context; 1671 inputs_[0] = context;
1695 } 1672 }
1696 1673
1697 LOperand* context() { return inputs_[0]; } 1674 LOperand* context() { return inputs_[0]; }
1698 1675
1699 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") 1676 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
1700 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) 1677 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after
2843 2820
2844 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2821 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2845 }; 2822 };
2846 2823
2847 #undef DECLARE_HYDROGEN_ACCESSOR 2824 #undef DECLARE_HYDROGEN_ACCESSOR
2848 #undef DECLARE_CONCRETE_INSTRUCTION 2825 #undef DECLARE_CONCRETE_INSTRUCTION
2849 2826
2850 } } // namespace v8::internal 2827 } } // namespace v8::internal
2851 2828
2852 #endif // V8_ARM_LITHIUM_ARM_H_ 2829 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698