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

Side by Side Diff: src/x64/lithium-x64.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/x64/lithium-codegen-x64.cc ('k') | src/x87/full-codegen-x87.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_X64_LITHIUM_X64_H_ 5 #ifndef V8_X64_LITHIUM_X64_H_
6 #define V8_X64_LITHIUM_X64_H_ 6 #define V8_X64_LITHIUM_X64_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 1672 matching lines...) Expand 10 before | Expand all | Expand 10 after
1683 } 1683 }
1684 1684
1685 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") 1685 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1686 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) 1686 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1687 1687
1688 LOperand* context() { return inputs_[0]; } 1688 LOperand* context() { return inputs_[0]; }
1689 LOperand* global_object() { return inputs_[1]; } 1689 LOperand* global_object() { return inputs_[1]; }
1690 LOperand* temp_vector() { return temps_[0]; } 1690 LOperand* temp_vector() { return temps_[0]; }
1691 1691
1692 Handle<Object> name() const { return hydrogen()->name(); } 1692 Handle<Object> name() const { return hydrogen()->name(); }
1693 bool for_typeof() const { return hydrogen()->for_typeof(); } 1693 TypeofMode typeof_mode() const { return hydrogen()->typeof_mode(); }
1694 }; 1694 };
1695 1695
1696 1696
1697 class LLoadContextSlot final : public LTemplateInstruction<1, 1, 0> { 1697 class LLoadContextSlot final : public LTemplateInstruction<1, 1, 0> {
1698 public: 1698 public:
1699 explicit LLoadContextSlot(LOperand* context) { 1699 explicit LLoadContextSlot(LOperand* context) {
1700 inputs_[0] = context; 1700 inputs_[0] = context;
1701 } 1701 }
1702 1702
1703 LOperand* context() { return inputs_[0]; } 1703 LOperand* context() { return inputs_[0]; }
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after
2873 2873
2874 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2874 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2875 }; 2875 };
2876 2876
2877 #undef DECLARE_HYDROGEN_ACCESSOR 2877 #undef DECLARE_HYDROGEN_ACCESSOR
2878 #undef DECLARE_CONCRETE_INSTRUCTION 2878 #undef DECLARE_CONCRETE_INSTRUCTION
2879 2879
2880 } } // namespace v8::int 2880 } } // namespace v8::int
2881 2881
2882 #endif // V8_X64_LITHIUM_X64_H_ 2882 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x87/full-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698