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

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

Issue 1227893005: TypeofMode replaces TypeofState and ContextualMode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 5 years, 5 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/arm/full-codegen-arm.cc ('k') | src/arm/lithium-codegen-arm.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_ARM_LITHIUM_ARM_H_ 5 #ifndef V8_ARM_LITHIUM_ARM_H_
6 #define V8_ARM_LITHIUM_ARM_H_ 6 #define V8_ARM_LITHIUM_ARM_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 1682 matching lines...) Expand 10 before | Expand all | Expand 10 after
1693 } 1693 }
1694 1694
1695 LOperand* context() { return inputs_[0]; } 1695 LOperand* context() { return inputs_[0]; }
1696 LOperand* global_object() { return inputs_[1]; } 1696 LOperand* global_object() { return inputs_[1]; }
1697 LOperand* temp_vector() { return temps_[0]; } 1697 LOperand* temp_vector() { return temps_[0]; }
1698 1698
1699 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") 1699 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1700 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) 1700 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1701 1701
1702 Handle<Object> name() const { return hydrogen()->name(); } 1702 Handle<Object> name() const { return hydrogen()->name(); }
1703 bool for_typeof() const { return hydrogen()->for_typeof(); } 1703 TypeofMode typeof_mode() const { return hydrogen()->typeof_mode(); }
1704 }; 1704 };
1705 1705
1706 1706
1707 class LLoadContextSlot final : public LTemplateInstruction<1, 1, 0> { 1707 class LLoadContextSlot final : public LTemplateInstruction<1, 1, 0> {
1708 public: 1708 public:
1709 explicit LLoadContextSlot(LOperand* context) { 1709 explicit LLoadContextSlot(LOperand* context) {
1710 inputs_[0] = context; 1710 inputs_[0] = context;
1711 } 1711 }
1712 1712
1713 LOperand* context() { return inputs_[0]; } 1713 LOperand* context() { return inputs_[0]; }
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
2892 2892
2893 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2893 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2894 }; 2894 };
2895 2895
2896 #undef DECLARE_HYDROGEN_ACCESSOR 2896 #undef DECLARE_HYDROGEN_ACCESSOR
2897 #undef DECLARE_CONCRETE_INSTRUCTION 2897 #undef DECLARE_CONCRETE_INSTRUCTION
2898 2898
2899 } } // namespace v8::internal 2899 } } // namespace v8::internal
2900 2900
2901 #endif // V8_ARM_LITHIUM_ARM_H_ 2901 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698