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

Side by Side Diff: src/x64/lithium-x64.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/x64/lithium-gap-resolver-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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 V(Return) \ 151 V(Return) \
152 V(SeqStringGetChar) \ 152 V(SeqStringGetChar) \
153 V(SeqStringSetChar) \ 153 V(SeqStringSetChar) \
154 V(ShiftI) \ 154 V(ShiftI) \
155 V(SmiTag) \ 155 V(SmiTag) \
156 V(SmiUntag) \ 156 V(SmiUntag) \
157 V(StackCheck) \ 157 V(StackCheck) \
158 V(StoreCodeEntry) \ 158 V(StoreCodeEntry) \
159 V(StoreContextSlot) \ 159 V(StoreContextSlot) \
160 V(StoreGlobalCell) \ 160 V(StoreGlobalCell) \
161 V(StoreGlobalGeneric) \
162 V(StoreKeyed) \ 161 V(StoreKeyed) \
163 V(StoreKeyedGeneric) \ 162 V(StoreKeyedGeneric) \
164 V(StoreNamedField) \ 163 V(StoreNamedField) \
165 V(StoreNamedGeneric) \ 164 V(StoreNamedGeneric) \
166 V(StringAdd) \ 165 V(StringAdd) \
167 V(StringCharCodeAt) \ 166 V(StringCharCodeAt) \
168 V(StringCharFromCode) \ 167 V(StringCharFromCode) \
169 V(StringCompareAndBranch) \ 168 V(StringCompareAndBranch) \
170 V(SubI) \ 169 V(SubI) \
171 V(TaggedToI) \ 170 V(TaggedToI) \
(...skipping 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1604 } 1603 }
1605 1604
1606 LOperand* value() { return inputs_[0]; } 1605 LOperand* value() { return inputs_[0]; }
1607 LOperand* temp() { return temps_[0]; } 1606 LOperand* temp() { return temps_[0]; }
1608 1607
1609 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell") 1608 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell")
1610 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell) 1609 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell)
1611 }; 1610 };
1612 1611
1613 1612
1614 class LStoreGlobalGeneric V8_FINAL : public LTemplateInstruction<0, 3, 0> {
1615 public:
1616 explicit LStoreGlobalGeneric(LOperand* context,
1617 LOperand* global_object,
1618 LOperand* value) {
1619 inputs_[0] = context;
1620 inputs_[1] = global_object;
1621 inputs_[2] = value;
1622 }
1623
1624 LOperand* context() { return inputs_[0]; }
1625 LOperand* global_object() { return inputs_[1]; }
1626 LOperand* value() { return inputs_[2]; }
1627
1628 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic")
1629 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric)
1630
1631 Handle<Object> name() const { return hydrogen()->name(); }
1632 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
1633 };
1634
1635
1636 class LLoadContextSlot V8_FINAL : public LTemplateInstruction<1, 1, 0> { 1613 class LLoadContextSlot V8_FINAL : public LTemplateInstruction<1, 1, 0> {
1637 public: 1614 public:
1638 explicit LLoadContextSlot(LOperand* context) { 1615 explicit LLoadContextSlot(LOperand* context) {
1639 inputs_[0] = context; 1616 inputs_[0] = context;
1640 } 1617 }
1641 1618
1642 LOperand* context() { return inputs_[0]; } 1619 LOperand* context() { return inputs_[0]; }
1643 1620
1644 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") 1621 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot")
1645 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) 1622 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot)
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
2774 2751
2775 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2752 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2776 }; 2753 };
2777 2754
2778 #undef DECLARE_HYDROGEN_ACCESSOR 2755 #undef DECLARE_HYDROGEN_ACCESSOR
2779 #undef DECLARE_CONCRETE_INSTRUCTION 2756 #undef DECLARE_CONCRETE_INSTRUCTION
2780 2757
2781 } } // namespace v8::int 2758 } } // namespace v8::int
2782 2759
2783 #endif // V8_X64_LITHIUM_X64_H_ 2760 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-gap-resolver-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698