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

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

Issue 131513015: Remove obsolete instruction HOuterContext. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 V(MathPowHalf) \ 138 V(MathPowHalf) \
139 V(MathRound) \ 139 V(MathRound) \
140 V(MathSqrt) \ 140 V(MathSqrt) \
141 V(ModI) \ 141 V(ModI) \
142 V(MulI) \ 142 V(MulI) \
143 V(NumberTagD) \ 143 V(NumberTagD) \
144 V(NumberTagI) \ 144 V(NumberTagI) \
145 V(NumberTagU) \ 145 V(NumberTagU) \
146 V(NumberUntagD) \ 146 V(NumberUntagD) \
147 V(OsrEntry) \ 147 V(OsrEntry) \
148 V(OuterContext) \
149 V(Parameter) \ 148 V(Parameter) \
150 V(Power) \ 149 V(Power) \
151 V(PushArgument) \ 150 V(PushArgument) \
152 V(RegExpLiteral) \ 151 V(RegExpLiteral) \
153 V(Return) \ 152 V(Return) \
154 V(SeqStringGetChar) \ 153 V(SeqStringGetChar) \
155 V(SeqStringSetChar) \ 154 V(SeqStringSetChar) \
156 V(ShiftI) \ 155 V(ShiftI) \
157 V(SmiTag) \ 156 V(SmiTag) \
158 V(SmiUntag) \ 157 V(SmiUntag) \
(...skipping 1612 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 }; 1770 };
1772 1771
1773 1772
1774 class LContext V8_FINAL : public LTemplateInstruction<1, 0, 0> { 1773 class LContext V8_FINAL : public LTemplateInstruction<1, 0, 0> {
1775 public: 1774 public:
1776 DECLARE_CONCRETE_INSTRUCTION(Context, "context") 1775 DECLARE_CONCRETE_INSTRUCTION(Context, "context")
1777 DECLARE_HYDROGEN_ACCESSOR(Context) 1776 DECLARE_HYDROGEN_ACCESSOR(Context)
1778 }; 1777 };
1779 1778
1780 1779
1781 class LOuterContext V8_FINAL : public LTemplateInstruction<1, 1, 0> {
1782 public:
1783 explicit LOuterContext(LOperand* context) {
1784 inputs_[0] = context;
1785 }
1786
1787 LOperand* context() { return inputs_[0]; }
1788
1789 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context")
1790 };
1791
1792
1793 class LDeclareGlobals V8_FINAL : public LTemplateInstruction<0, 1, 0> { 1780 class LDeclareGlobals V8_FINAL : public LTemplateInstruction<0, 1, 0> {
1794 public: 1781 public:
1795 explicit LDeclareGlobals(LOperand* context) { 1782 explicit LDeclareGlobals(LOperand* context) {
1796 inputs_[0] = context; 1783 inputs_[0] = context;
1797 } 1784 }
1798 1785
1799 LOperand* context() { return inputs_[0]; } 1786 LOperand* context() { return inputs_[0]; }
1800 1787
1801 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") 1788 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals")
1802 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) 1789 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals)
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after
2839 2826
2840 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2827 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2841 }; 2828 };
2842 2829
2843 #undef DECLARE_HYDROGEN_ACCESSOR 2830 #undef DECLARE_HYDROGEN_ACCESSOR
2844 #undef DECLARE_CONCRETE_INSTRUCTION 2831 #undef DECLARE_CONCRETE_INSTRUCTION
2845 2832
2846 } } // namespace v8::internal 2833 } } // namespace v8::internal
2847 2834
2848 #endif // V8_IA32_LITHIUM_IA32_H_ 2835 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698