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

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

Issue 15881003: Remove offset() and is_in_object() from hydrogen and lithium LoadNamedField and StoreNamedField and… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « 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 2129 matching lines...) Expand 10 before | Expand all | Expand 10 after
2140 2140
2141 LOperand* object() { return inputs_[0]; } 2141 LOperand* object() { return inputs_[0]; }
2142 LOperand* value() { return inputs_[1]; } 2142 LOperand* value() { return inputs_[1]; }
2143 LOperand* temp() { return temps_[0]; } 2143 LOperand* temp() { return temps_[0]; }
2144 2144
2145 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") 2145 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field")
2146 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) 2146 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField)
2147 2147
2148 virtual void PrintDataTo(StringStream* stream); 2148 virtual void PrintDataTo(StringStream* stream);
2149 2149
2150 Handle<Object> name() const { return hydrogen()->name(); }
2151 bool is_in_object() { return hydrogen()->is_in_object(); }
2152 int offset() { return hydrogen()->offset(); }
2153 Handle<Map> transition() const { return hydrogen()->transition(); } 2150 Handle<Map> transition() const { return hydrogen()->transition(); }
2154 Representation representation() const { 2151 Representation representation() const {
2155 return hydrogen()->field_representation(); 2152 return hydrogen()->field_representation();
2156 } 2153 }
2157 }; 2154 };
2158 2155
2159 2156
2160 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { 2157 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> {
2161 public: 2158 public:
2162 LStoreNamedGeneric(LOperand* object, LOperand* value) { 2159 LStoreNamedGeneric(LOperand* object, LOperand* value) {
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
2868 2865
2869 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2866 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2870 }; 2867 };
2871 2868
2872 #undef DECLARE_HYDROGEN_ACCESSOR 2869 #undef DECLARE_HYDROGEN_ACCESSOR
2873 #undef DECLARE_CONCRETE_INSTRUCTION 2870 #undef DECLARE_CONCRETE_INSTRUCTION
2874 2871
2875 } } // namespace v8::internal 2872 } } // namespace v8::internal
2876 2873
2877 #endif // V8_ARM_LITHIUM_ARM_H_ 2874 #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