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

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

Issue 18034024: Remove the compiled_transitions flag and cleanup the unused code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 7 years, 4 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/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.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 2190 matching lines...) Expand 10 before | Expand all | Expand 10 after
2201 2201
2202 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") 2202 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic")
2203 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) 2203 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric)
2204 2204
2205 virtual void PrintDataTo(StringStream* stream); 2205 virtual void PrintDataTo(StringStream* stream);
2206 2206
2207 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } 2207 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); }
2208 }; 2208 };
2209 2209
2210 2210
2211 class LTransitionElementsKind: public LTemplateInstruction<0, 1, 2> { 2211 class LTransitionElementsKind: public LTemplateInstruction<0, 1, 1> {
2212 public: 2212 public:
2213 LTransitionElementsKind(LOperand* object, 2213 LTransitionElementsKind(LOperand* object,
2214 LOperand* new_map_temp, 2214 LOperand* new_map_temp) {
2215 LOperand* fixed_object_temp) {
2216 inputs_[0] = object; 2215 inputs_[0] = object;
2217 temps_[0] = new_map_temp; 2216 temps_[0] = new_map_temp;
2218 temps_[1] = fixed_object_temp;
2219 } 2217 }
2220 2218
2221 LOperand* object() { return inputs_[0]; } 2219 LOperand* object() { return inputs_[0]; }
2222 LOperand* new_map_temp() { return temps_[0]; } 2220 LOperand* new_map_temp() { return temps_[0]; }
2223 LOperand* temp() { return temps_[1]; }
2224 2221
2225 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind, 2222 DECLARE_CONCRETE_INSTRUCTION(TransitionElementsKind,
2226 "transition-elements-kind") 2223 "transition-elements-kind")
2227 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind) 2224 DECLARE_HYDROGEN_ACCESSOR(TransitionElementsKind)
2228 2225
2229 virtual void PrintDataTo(StringStream* stream); 2226 virtual void PrintDataTo(StringStream* stream);
2230 2227
2231 Handle<Map> original_map() { return hydrogen()->original_map(); } 2228 Handle<Map> original_map() { return hydrogen()->original_map(); }
2232 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); } 2229 Handle<Map> transitioned_map() { return hydrogen()->transitioned_map(); }
2233 ElementsKind from_kind() { return hydrogen()->from_kind(); } 2230 ElementsKind from_kind() { return hydrogen()->from_kind(); }
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
2775 2772
2776 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2773 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2777 }; 2774 };
2778 2775
2779 #undef DECLARE_HYDROGEN_ACCESSOR 2776 #undef DECLARE_HYDROGEN_ACCESSOR
2780 #undef DECLARE_CONCRETE_INSTRUCTION 2777 #undef DECLARE_CONCRETE_INSTRUCTION
2781 2778
2782 } } // namespace v8::internal 2779 } } // namespace v8::internal
2783 2780
2784 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2781 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698