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

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

Issue 902053005: X87: 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/x87/lithium-codegen-x87.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 // 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_X87_LITHIUM_X87_H_ 5 #ifndef V8_X87_LITHIUM_X87_H_
6 #define V8_X87_LITHIUM_X87_H_ 6 #define V8_X87_LITHIUM_X87_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 2220 matching lines...) Expand 10 before | Expand all | Expand 10 after
2231 2231
2232 LOperand* context() { return inputs_[0]; } 2232 LOperand* context() { return inputs_[0]; }
2233 LOperand* object() { return inputs_[1]; } 2233 LOperand* object() { return inputs_[1]; }
2234 LOperand* value() { return inputs_[2]; } 2234 LOperand* value() { return inputs_[2]; }
2235 2235
2236 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") 2236 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic")
2237 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) 2237 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric)
2238 2238
2239 void PrintDataTo(StringStream* stream) OVERRIDE; 2239 void PrintDataTo(StringStream* stream) OVERRIDE;
2240 Handle<Object> name() const { return hydrogen()->name(); } 2240 Handle<Object> name() const { return hydrogen()->name(); }
2241 StrictMode strict_mode() { return hydrogen()->strict_mode(); } 2241 LanguageMode language_mode() { return hydrogen()->language_mode(); }
2242 }; 2242 };
2243 2243
2244 2244
2245 class LStoreKeyed FINAL : public LTemplateInstruction<0, 3, 0> { 2245 class LStoreKeyed FINAL : public LTemplateInstruction<0, 3, 0> {
2246 public: 2246 public:
2247 LStoreKeyed(LOperand* obj, LOperand* key, LOperand* val) { 2247 LStoreKeyed(LOperand* obj, LOperand* key, LOperand* val) {
2248 inputs_[0] = obj; 2248 inputs_[0] = obj;
2249 inputs_[1] = key; 2249 inputs_[1] = key;
2250 inputs_[2] = val; 2250 inputs_[2] = val;
2251 } 2251 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2288 LOperand* context() { return inputs_[0]; } 2288 LOperand* context() { return inputs_[0]; }
2289 LOperand* object() { return inputs_[1]; } 2289 LOperand* object() { return inputs_[1]; }
2290 LOperand* key() { return inputs_[2]; } 2290 LOperand* key() { return inputs_[2]; }
2291 LOperand* value() { return inputs_[3]; } 2291 LOperand* value() { return inputs_[3]; }
2292 2292
2293 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") 2293 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic")
2294 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) 2294 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric)
2295 2295
2296 void PrintDataTo(StringStream* stream) OVERRIDE; 2296 void PrintDataTo(StringStream* stream) OVERRIDE;
2297 2297
2298 StrictMode strict_mode() { return hydrogen()->strict_mode(); } 2298 LanguageMode language_mode() { return hydrogen()->language_mode(); }
2299 }; 2299 };
2300 2300
2301 2301
2302 class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 2, 2> { 2302 class LTransitionElementsKind FINAL : public LTemplateInstruction<0, 2, 2> {
2303 public: 2303 public:
2304 LTransitionElementsKind(LOperand* object, 2304 LTransitionElementsKind(LOperand* object,
2305 LOperand* context, 2305 LOperand* context,
2306 LOperand* new_map_temp, 2306 LOperand* new_map_temp,
2307 LOperand* temp) { 2307 LOperand* temp) {
2308 inputs_[0] = object; 2308 inputs_[0] = object;
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
2890 2890
2891 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2891 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2892 }; 2892 };
2893 2893
2894 #undef DECLARE_HYDROGEN_ACCESSOR 2894 #undef DECLARE_HYDROGEN_ACCESSOR
2895 #undef DECLARE_CONCRETE_INSTRUCTION 2895 #undef DECLARE_CONCRETE_INSTRUCTION
2896 2896
2897 } } // namespace v8::internal 2897 } } // namespace v8::internal
2898 2898
2899 #endif // V8_X87_LITHIUM_X87_H_ 2899 #endif // V8_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/x87/lithium-codegen-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698