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

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

Issue 890413003: MIPS: Introduce LanguageMode, drop StrictMode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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') | src/mips64/full-codegen-mips64.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_
6 #define V8_MIPS_LITHIUM_MIPS_H_ 6 #define V8_MIPS_LITHIUM_MIPS_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 2176 matching lines...) Expand 10 before | Expand all | Expand 10 after
2187 LOperand* context() { return inputs_[0]; } 2187 LOperand* context() { return inputs_[0]; }
2188 LOperand* object() { return inputs_[1]; } 2188 LOperand* object() { return inputs_[1]; }
2189 LOperand* value() { return inputs_[2]; } 2189 LOperand* value() { return inputs_[2]; }
2190 2190
2191 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") 2191 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic")
2192 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) 2192 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric)
2193 2193
2194 void PrintDataTo(StringStream* stream) OVERRIDE; 2194 void PrintDataTo(StringStream* stream) OVERRIDE;
2195 2195
2196 Handle<Object> name() const { return hydrogen()->name(); } 2196 Handle<Object> name() const { return hydrogen()->name(); }
2197 StrictMode strict_mode() { return hydrogen()->strict_mode(); } 2197 LanguageMode language_mode() { return hydrogen()->language_mode(); }
2198 }; 2198 };
2199 2199
2200 2200
2201 class LStoreKeyed FINAL : public LTemplateInstruction<0, 3, 0> { 2201 class LStoreKeyed FINAL : public LTemplateInstruction<0, 3, 0> {
2202 public: 2202 public:
2203 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) { 2203 LStoreKeyed(LOperand* object, LOperand* key, LOperand* value) {
2204 inputs_[0] = object; 2204 inputs_[0] = object;
2205 inputs_[1] = key; 2205 inputs_[1] = key;
2206 inputs_[2] = value; 2206 inputs_[2] = value;
2207 } 2207 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2244 LOperand* context() { return inputs_[0]; } 2244 LOperand* context() { return inputs_[0]; }
2245 LOperand* object() { return inputs_[1]; } 2245 LOperand* object() { return inputs_[1]; }
2246 LOperand* key() { return inputs_[2]; } 2246 LOperand* key() { return inputs_[2]; }
2247 LOperand* value() { return inputs_[3]; } 2247 LOperand* value() { return inputs_[3]; }
2248 2248
2249 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") 2249 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic")
2250 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) 2250 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric)
2251 2251
2252 void PrintDataTo(StringStream* stream) OVERRIDE; 2252 void PrintDataTo(StringStream* stream) OVERRIDE;
2253 2253
2254 StrictMode strict_mode() { return hydrogen()->strict_mode(); } 2254 LanguageMode language_mode() { return hydrogen()->language_mode(); }
2255 }; 2255 };
2256 2256
2257 2257
2258 class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 2, 1> { 2258 class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 2, 1> {
2259 public: 2259 public:
2260 LTransitionElementsKind(LOperand* object, 2260 LTransitionElementsKind(LOperand* object,
2261 LOperand* context, 2261 LOperand* context,
2262 LOperand* new_map_temp) { 2262 LOperand* new_map_temp) {
2263 inputs_[0] = object; 2263 inputs_[0] = object;
2264 inputs_[1] = context; 2264 inputs_[1] = context;
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
2844 2844
2845 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2845 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2846 }; 2846 };
2847 2847
2848 #undef DECLARE_HYDROGEN_ACCESSOR 2848 #undef DECLARE_HYDROGEN_ACCESSOR
2849 #undef DECLARE_CONCRETE_INSTRUCTION 2849 #undef DECLARE_CONCRETE_INSTRUCTION
2850 2850
2851 } } // namespace v8::internal 2851 } } // namespace v8::internal
2852 2852
2853 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2853 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips64/full-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698