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

Side by Side Diff: src/x64/lithium-x64.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 | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 2047 matching lines...) Expand 10 before | Expand all | Expand 10 after
2058 2058
2059 LOperand* object() { return inputs_[0]; } 2059 LOperand* object() { return inputs_[0]; }
2060 LOperand* value() { return inputs_[1]; } 2060 LOperand* value() { return inputs_[1]; }
2061 LOperand* temp() { return temps_[0]; } 2061 LOperand* temp() { return temps_[0]; }
2062 2062
2063 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") 2063 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field")
2064 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) 2064 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField)
2065 2065
2066 virtual void PrintDataTo(StringStream* stream); 2066 virtual void PrintDataTo(StringStream* stream);
2067 2067
2068 Handle<Object> name() const { return hydrogen()->name(); }
2069 bool is_in_object() { return hydrogen()->is_in_object(); }
2070 int offset() { return hydrogen()->offset(); }
2071 Handle<Map> transition() const { return hydrogen()->transition(); } 2068 Handle<Map> transition() const { return hydrogen()->transition(); }
2072 Representation representation() const { 2069 Representation representation() const {
2073 return hydrogen()->field_representation(); 2070 return hydrogen()->field_representation();
2074 } 2071 }
2075 }; 2072 };
2076 2073
2077 2074
2078 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { 2075 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> {
2079 public: 2076 public:
2080 LStoreNamedGeneric(LOperand* object, LOperand* value) { 2077 LStoreNamedGeneric(LOperand* object, LOperand* value) {
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
2756 2753
2757 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2754 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2758 }; 2755 };
2759 2756
2760 #undef DECLARE_HYDROGEN_ACCESSOR 2757 #undef DECLARE_HYDROGEN_ACCESSOR
2761 #undef DECLARE_CONCRETE_INSTRUCTION 2758 #undef DECLARE_CONCRETE_INSTRUCTION
2762 2759
2763 } } // namespace v8::int 2760 } } // namespace v8::int
2764 2761
2765 #endif // V8_X64_LITHIUM_X64_H_ 2762 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698