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

Side by Side Diff: src/arm/lithium-arm.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 | « no previous file | src/arm/lithium-arm.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 2132 matching lines...) Expand 10 before | Expand all | Expand 10 after
2143 2143
2144 LOperand* object() { return inputs_[0]; } 2144 LOperand* object() { return inputs_[0]; }
2145 LOperand* value() { return inputs_[1]; } 2145 LOperand* value() { return inputs_[1]; }
2146 LOperand* temp() { return temps_[0]; } 2146 LOperand* temp() { return temps_[0]; }
2147 2147
2148 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") 2148 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field")
2149 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) 2149 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField)
2150 2150
2151 virtual void PrintDataTo(StringStream* stream); 2151 virtual void PrintDataTo(StringStream* stream);
2152 2152
2153 Handle<Map> transition() const { return hydrogen()->transition(); } 2153 Handle<Map> transition() const { return hydrogen()->transition_map(); }
2154 Representation representation() const { 2154 Representation representation() const {
2155 return hydrogen()->field_representation(); 2155 return hydrogen()->field_representation();
2156 } 2156 }
2157 }; 2157 };
2158 2158
2159 2159
2160 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { 2160 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> {
2161 public: 2161 public:
2162 LStoreNamedGeneric(LOperand* object, LOperand* value) { 2162 LStoreNamedGeneric(LOperand* object, LOperand* value) {
2163 inputs_[0] = object; 2163 inputs_[0] = object;
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
2779 2779
2780 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2780 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2781 }; 2781 };
2782 2782
2783 #undef DECLARE_HYDROGEN_ACCESSOR 2783 #undef DECLARE_HYDROGEN_ACCESSOR
2784 #undef DECLARE_CONCRETE_INSTRUCTION 2784 #undef DECLARE_CONCRETE_INSTRUCTION
2785 2785
2786 } } // namespace v8::internal 2786 } } // namespace v8::internal
2787 2787
2788 #endif // V8_ARM_LITHIUM_ARM_H_ 2788 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698