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

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

Issue 1259063004: X87: [stubs] Don't pass name to Load/StoreGlobalViaContext stubs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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') | src/x87/lithium-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_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 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1731 public: 1731 public:
1732 explicit LLoadGlobalViaContext(LOperand* context) { inputs_[0] = context; } 1732 explicit LLoadGlobalViaContext(LOperand* context) { inputs_[0] = context; }
1733 1733
1734 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalViaContext, "load-global-via-context") 1734 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalViaContext, "load-global-via-context")
1735 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalViaContext) 1735 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalViaContext)
1736 1736
1737 void PrintDataTo(StringStream* stream) override; 1737 void PrintDataTo(StringStream* stream) override;
1738 1738
1739 LOperand* context() { return inputs_[0]; } 1739 LOperand* context() { return inputs_[0]; }
1740 1740
1741 Handle<Object> name() const { return hydrogen()->name(); }
1742 int depth() const { return hydrogen()->depth(); } 1741 int depth() const { return hydrogen()->depth(); }
1743 int slot_index() const { return hydrogen()->slot_index(); } 1742 int slot_index() const { return hydrogen()->slot_index(); }
1744 }; 1743 };
1745 1744
1746 1745
1747 class LLoadContextSlot final : public LTemplateInstruction<1, 1, 0> { 1746 class LLoadContextSlot final : public LTemplateInstruction<1, 1, 0> {
1748 public: 1747 public:
1749 explicit LLoadContextSlot(LOperand* context) { 1748 explicit LLoadContextSlot(LOperand* context) {
1750 inputs_[0] = context; 1749 inputs_[0] = context;
1751 } 1750 }
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
2241 2240
2242 LOperand* context() { return inputs_[0]; } 2241 LOperand* context() { return inputs_[0]; }
2243 LOperand* value() { return inputs_[1]; } 2242 LOperand* value() { return inputs_[1]; }
2244 2243
2245 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalViaContext, 2244 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalViaContext,
2246 "store-global-via-context") 2245 "store-global-via-context")
2247 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalViaContext) 2246 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalViaContext)
2248 2247
2249 void PrintDataTo(StringStream* stream) override; 2248 void PrintDataTo(StringStream* stream) override;
2250 2249
2251 Handle<Object> name() const { return hydrogen()->name(); }
2252 int depth() { return hydrogen()->depth(); } 2250 int depth() { return hydrogen()->depth(); }
2253 int slot_index() { return hydrogen()->slot_index(); } 2251 int slot_index() { return hydrogen()->slot_index(); }
2254 LanguageMode language_mode() { return hydrogen()->language_mode(); } 2252 LanguageMode language_mode() { return hydrogen()->language_mode(); }
2255 }; 2253 };
2256 2254
2257 2255
2258 class LStoreKeyed final : public LTemplateInstruction<0, 3, 0> { 2256 class LStoreKeyed final : public LTemplateInstruction<0, 3, 0> {
2259 public: 2257 public:
2260 LStoreKeyed(LOperand* obj, LOperand* key, LOperand* val) { 2258 LStoreKeyed(LOperand* obj, LOperand* key, LOperand* val) {
2261 inputs_[0] = obj; 2259 inputs_[0] = obj;
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
2944 2942
2945 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2943 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2946 }; 2944 };
2947 2945
2948 #undef DECLARE_HYDROGEN_ACCESSOR 2946 #undef DECLARE_HYDROGEN_ACCESSOR
2949 #undef DECLARE_CONCRETE_INSTRUCTION 2947 #undef DECLARE_CONCRETE_INSTRUCTION
2950 2948
2951 } } // namespace v8::internal 2949 } } // namespace v8::internal
2952 2950
2953 #endif // V8_X87_LITHIUM_X87_H_ 2951 #endif // V8_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/x87/lithium-codegen-x87.cc ('k') | src/x87/lithium-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698