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

Side by Side Diff: src/mips/lithium-mips.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/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 2076 matching lines...) Expand 10 before | Expand all | Expand 10 after
2087 2087
2088 LOperand* object() { return inputs_[0]; } 2088 LOperand* object() { return inputs_[0]; }
2089 LOperand* value() { return inputs_[1]; } 2089 LOperand* value() { return inputs_[1]; }
2090 LOperand* temp() { return temps_[0]; } 2090 LOperand* temp() { return temps_[0]; }
2091 2091
2092 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field") 2092 DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field")
2093 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField) 2093 DECLARE_HYDROGEN_ACCESSOR(StoreNamedField)
2094 2094
2095 virtual void PrintDataTo(StringStream* stream); 2095 virtual void PrintDataTo(StringStream* stream);
2096 2096
2097 Handle<Object> name() const { return hydrogen()->name(); }
2098 bool is_in_object() { return hydrogen()->is_in_object(); }
2099 int offset() { return hydrogen()->offset(); }
2100 Handle<Map> transition() const { return hydrogen()->transition(); } 2097 Handle<Map> transition() const { return hydrogen()->transition(); }
2101 Representation representation() const { 2098 Representation representation() const {
2102 return hydrogen()->field_representation(); 2099 return hydrogen()->field_representation();
2103 } 2100 }
2104 }; 2101 };
2105 2102
2106 2103
2107 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> { 2104 class LStoreNamedGeneric: public LTemplateInstruction<0, 2, 0> {
2108 public: 2105 public:
2109 LStoreNamedGeneric(LOperand* object, LOperand* value) { 2106 LStoreNamedGeneric(LOperand* object, LOperand* value) {
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
2804 2801
2805 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2802 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2806 }; 2803 };
2807 2804
2808 #undef DECLARE_HYDROGEN_ACCESSOR 2805 #undef DECLARE_HYDROGEN_ACCESSOR
2809 #undef DECLARE_CONCRETE_INSTRUCTION 2806 #undef DECLARE_CONCRETE_INSTRUCTION
2810 2807
2811 } } // namespace v8::internal 2808 } } // namespace v8::internal
2812 2809
2813 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2810 #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