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

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

Issue 894683003: Introduce LanguageMode, drop StrictMode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased (w/ conflicts) 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/arm64/full-codegen-arm64.cc ('k') | src/arm64/lithium-codegen-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_LITHIUM_ARM64_H_ 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_
6 #define V8_ARM64_LITHIUM_ARM64_H_ 6 #define V8_ARM64_LITHIUM_ARM64_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 2564 matching lines...) Expand 10 before | Expand all | Expand 10 after
2575 LOperand* context() { return inputs_[0]; } 2575 LOperand* context() { return inputs_[0]; }
2576 LOperand* object() { return inputs_[1]; } 2576 LOperand* object() { return inputs_[1]; }
2577 LOperand* key() { return inputs_[2]; } 2577 LOperand* key() { return inputs_[2]; }
2578 LOperand* value() { return inputs_[3]; } 2578 LOperand* value() { return inputs_[3]; }
2579 2579
2580 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") 2580 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic")
2581 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) 2581 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric)
2582 2582
2583 void PrintDataTo(StringStream* stream) OVERRIDE; 2583 void PrintDataTo(StringStream* stream) OVERRIDE;
2584 2584
2585 StrictMode strict_mode() { return hydrogen()->strict_mode(); } 2585 LanguageMode language_mode() { return hydrogen()->language_mode(); }
2586 }; 2586 };
2587 2587
2588 2588
2589 class LStoreNamedField FINAL : public LTemplateInstruction<0, 2, 2> { 2589 class LStoreNamedField FINAL : public LTemplateInstruction<0, 2, 2> {
2590 public: 2590 public:
2591 LStoreNamedField(LOperand* object, LOperand* value, 2591 LStoreNamedField(LOperand* object, LOperand* value,
2592 LOperand* temp0, LOperand* temp1) { 2592 LOperand* temp0, LOperand* temp1) {
2593 inputs_[0] = object; 2593 inputs_[0] = object;
2594 inputs_[1] = value; 2594 inputs_[1] = value;
2595 temps_[0] = temp0; 2595 temps_[0] = temp0;
(...skipping 27 matching lines...) Expand all
2623 LOperand* context() { return inputs_[0]; } 2623 LOperand* context() { return inputs_[0]; }
2624 LOperand* object() { return inputs_[1]; } 2624 LOperand* object() { return inputs_[1]; }
2625 LOperand* value() { return inputs_[2]; } 2625 LOperand* value() { return inputs_[2]; }
2626 2626
2627 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic") 2627 DECLARE_CONCRETE_INSTRUCTION(StoreNamedGeneric, "store-named-generic")
2628 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric) 2628 DECLARE_HYDROGEN_ACCESSOR(StoreNamedGeneric)
2629 2629
2630 void PrintDataTo(StringStream* stream) OVERRIDE; 2630 void PrintDataTo(StringStream* stream) OVERRIDE;
2631 2631
2632 Handle<Object> name() const { return hydrogen()->name(); } 2632 Handle<Object> name() const { return hydrogen()->name(); }
2633 StrictMode strict_mode() { return hydrogen()->strict_mode(); } 2633 LanguageMode language_mode() { return hydrogen()->language_mode(); }
2634 }; 2634 };
2635 2635
2636 2636
2637 class LStringAdd FINAL : public LTemplateInstruction<1, 3, 0> { 2637 class LStringAdd FINAL : public LTemplateInstruction<1, 3, 0> {
2638 public: 2638 public:
2639 LStringAdd(LOperand* context, LOperand* left, LOperand* right) { 2639 LStringAdd(LOperand* context, LOperand* left, LOperand* right) {
2640 inputs_[0] = context; 2640 inputs_[0] = context;
2641 inputs_[1] = left; 2641 inputs_[1] = left;
2642 inputs_[2] = right; 2642 inputs_[2] = right;
2643 } 2643 }
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
3245 3245
3246 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3246 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3247 }; 3247 };
3248 3248
3249 #undef DECLARE_HYDROGEN_ACCESSOR 3249 #undef DECLARE_HYDROGEN_ACCESSOR
3250 #undef DECLARE_CONCRETE_INSTRUCTION 3250 #undef DECLARE_CONCRETE_INSTRUCTION
3251 3251
3252 } } // namespace v8::internal 3252 } } // namespace v8::internal
3253 3253
3254 #endif // V8_ARM64_LITHIUM_ARM64_H_ 3254 #endif // V8_ARM64_LITHIUM_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698