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

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

Issue 21560002: Store transition on HStoreNamedField as HConstant. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/hydrogen-instructions.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 2218 matching lines...) Expand 10 before | Expand all | Expand 10 after
2229 LOperand* object() { return inputs_[0]; } 2229 LOperand* object() { return inputs_[0]; }
2230 LOperand* value() { return inputs_[1]; } 2230 LOperand* value() { return inputs_[1]; }
2231 LOperand* temp() { return temps_[0]; } 2231 LOperand* temp() { return temps_[0]; }
2232 LOperand* temp_map() { return temps_[1]; } 2232 LOperand* temp_map() { return temps_[1]; }
2233 2233
2234 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") 2234 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field")
2235 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) 2235 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField)
2236 2236
2237 virtual void PrintDataTo(StringStream* stream); 2237 virtual void PrintDataTo(StringStream* stream);
2238 2238
2239 Handle<Map> transition() const { return hydrogen()->transition(); } 2239 Handle<Map> transition() const { return hydrogen()->transition_map(); }
2240 Representation representation() const { 2240 Representation representation() const {
2241 return hydrogen()->field_representation(); 2241 return hydrogen()->field_representation();
2242 } 2242 }
2243 }; 2243 };
2244 2244
2245 2245
2246 class LStoreNamedGeneric: public LTemplateInstruction<0, 3, 0> { 2246 class LStoreNamedGeneric: public LTemplateInstruction<0, 3, 0> {
2247 public: 2247 public:
2248 LStoreNamedGeneric(LOperand* context, LOperand* object, LOperand* value) { 2248 LStoreNamedGeneric(LOperand* context, LOperand* object, LOperand* value) {
2249 inputs_[0] = context; 2249 inputs_[0] = context;
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
2918 2918
2919 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2919 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2920 }; 2920 };
2921 2921
2922 #undef DECLARE_HYDROGEN_ACCESSOR 2922 #undef DECLARE_HYDROGEN_ACCESSOR
2923 #undef DECLARE_CONCRETE_INSTRUCTION 2923 #undef DECLARE_CONCRETE_INSTRUCTION
2924 2924
2925 } } // namespace v8::internal 2925 } } // namespace v8::internal
2926 2926
2927 #endif // V8_IA32_LITHIUM_IA32_H_ 2927 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698