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

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

Issue 195693002: MIPS: Eliminate extended mode, and other modes clean-up (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 6 years, 9 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
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | no next file » | 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 2123 matching lines...) Expand 10 before | Expand all | Expand 10 after
2134 LOperand* context() { return inputs_[0]; } 2134 LOperand* context() { return inputs_[0]; }
2135 LOperand* object() { return inputs_[1]; } 2135 LOperand* object() { return inputs_[1]; }
2136 LOperand* value() { return inputs_[2]; } 2136 LOperand* value() { return inputs_[2]; }
2137 2137
2138 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") 2138 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic")
2139 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) 2139 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric)
2140 2140
2141 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; 2141 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
2142 2142
2143 Handle<Object> name() const { return hydrogen()->name(); } 2143 Handle<Object> name() const { return hydrogen()->name(); }
2144 StrictMode strict_mode_flag() { return hydrogen()->strict_mode_flag(); } 2144 StrictMode strict_mode() { return hydrogen()->strict_mode(); }
2145 }; 2145 };
2146 2146
2147 2147
2148 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> { 2148 class LStoreKeyed V8_FINAL : public LTemplateInstruction<0, 3, 0> {
2149 public: 2149 public:
2150 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { 2150 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) {
2151 inputs_[0] = object; 2151 inputs_[0] = object;
2152 inputs_[1] = key; 2152 inputs_[1] = key;
2153 inputs_[2] = value; 2153 inputs_[2] = value;
2154 } 2154 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2191 LOperand* context() { return inputs_[0]; } 2191 LOperand* context() { return inputs_[0]; }
2192 LOperand* object() { return inputs_[1]; } 2192 LOperand* object() { return inputs_[1]; }
2193 LOperand* key() { return inputs_[2]; } 2193 LOperand* key() { return inputs_[2]; }
2194 LOperand* value() { return inputs_[3]; } 2194 LOperand* value() { return inputs_[3]; }
2195 2195
2196 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") 2196 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic")
2197 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) 2197 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric)
2198 2198
2199 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; 2199 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
2200 2200
2201 StrictMode strict_mode_flag() { return hydrogen()->strict_mode_flag(); } 2201 StrictMode strict_mode() { return hydrogen()->strict_mode(); }
2202 }; 2202 };
2203 2203
2204 2204
2205 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 1> { 2205 class LTransitionElementsKind V8_FINAL : public LTemplateInstruction<0, 2, 1> {
2206 public: 2206 public:
2207 LTransitionElementsKind(LOperand* object, 2207 LTransitionElementsKind(LOperand* object,
2208 LOperand* context, 2208 LOperand* context,
2209 LOperand* new_map_temp) { 2209 LOperand* new_map_temp) {
2210 inputs_[0] = object; 2210 inputs_[0] = object;
2211 inputs_[1] = context; 2211 inputs_[1] = context;
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
2789 2789
2790 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2790 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2791 }; 2791 };
2792 2792
2793 #undef DECLARE_HYDROGEN_ACCESSOR 2793 #undef DECLARE_HYDROGEN_ACCESSOR
2794 #undef DECLARE_CONCRETE_INSTRUCTION 2794 #undef DECLARE_CONCRETE_INSTRUCTION
2795 2795
2796 } } // namespace v8::internal 2796 } } // namespace v8::internal
2797 2797
2798 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2798 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698