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

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

Issue 14972008: Remove obsolete HObjectLiteral instruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix after rebase. Created 7 years, 7 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(MathRound) \ 138 V(MathRound) \
139 V(MathSin) \ 139 V(MathSin) \
140 V(MathSqrt) \ 140 V(MathSqrt) \
141 V(MathTan) \ 141 V(MathTan) \
142 V(ModI) \ 142 V(ModI) \
143 V(MulI) \ 143 V(MulI) \
144 V(NumberTagD) \ 144 V(NumberTagD) \
145 V(NumberTagI) \ 145 V(NumberTagI) \
146 V(NumberTagU) \ 146 V(NumberTagU) \
147 V(NumberUntagD) \ 147 V(NumberUntagD) \
148 V(ObjectLiteral) \
149 V(OsrEntry) \ 148 V(OsrEntry) \
150 V(OuterContext) \ 149 V(OuterContext) \
151 V(Parameter) \ 150 V(Parameter) \
152 V(Power) \ 151 V(Power) \
153 V(Random) \ 152 V(Random) \
154 V(PushArgument) \ 153 V(PushArgument) \
155 V(RegExpLiteral) \ 154 V(RegExpLiteral) \
156 V(Return) \ 155 V(Return) \
157 V(SeqStringSetChar) \ 156 V(SeqStringSetChar) \
158 V(ShiftI) \ 157 V(ShiftI) \
(...skipping 2412 matching lines...) Expand 10 before | Expand all | Expand 10 after
2571 inputs_[0] = context; 2570 inputs_[0] = context;
2572 } 2571 }
2573 2572
2574 LOperand* context() { return inputs_[0]; } 2573 LOperand* context() { return inputs_[0]; }
2575 2574
2576 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") 2575 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal")
2577 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) 2576 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral)
2578 }; 2577 };
2579 2578
2580 2579
2581 class LObjectLiteral: public LTemplateInstruction<1, 1, 0> {
2582 public:
2583 explicit LObjectLiteral(LOperand* context) {
2584 inputs_[0] = context;
2585 }
2586
2587 LOperand* context() { return inputs_[0]; }
2588
2589 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal")
2590 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteral)
2591 };
2592
2593
2594 class LRegExpLiteral: public LTemplateInstruction<1, 1, 0> { 2580 class LRegExpLiteral: public LTemplateInstruction<1, 1, 0> {
2595 public: 2581 public:
2596 explicit LRegExpLiteral(LOperand* context) { 2582 explicit LRegExpLiteral(LOperand* context) {
2597 inputs_[0] = context; 2583 inputs_[0] = context;
2598 } 2584 }
2599 2585
2600 LOperand* context() { return inputs_[0]; } 2586 LOperand* context() { return inputs_[0]; }
2601 2587
2602 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") 2588 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal")
2603 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) 2589 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral)
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
2987 2973
2988 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2974 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2989 }; 2975 };
2990 2976
2991 #undef DECLARE_HYDROGEN_ACCESSOR 2977 #undef DECLARE_HYDROGEN_ACCESSOR
2992 #undef DECLARE_CONCRETE_INSTRUCTION 2978 #undef DECLARE_CONCRETE_INSTRUCTION
2993 2979
2994 } } // namespace v8::internal 2980 } } // namespace v8::internal
2995 2981
2996 #endif // V8_IA32_LITHIUM_IA32_H_ 2982 #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