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

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

Issue 1259963002: [stubs] Don't pass name to Load/StoreGlobalViaContext stubs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix rebase 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/arm64/interface-descriptors-arm64.cc ('k') | src/arm64/lithium-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 1668 matching lines...) Expand 10 before | Expand all | Expand 10 after
1679 public: 1679 public:
1680 explicit LLoadGlobalViaContext(LOperand* context) { inputs_[0] = context; } 1680 explicit LLoadGlobalViaContext(LOperand* context) { inputs_[0] = context; }
1681 1681
1682 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalViaContext, "load-global-via-context") 1682 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalViaContext, "load-global-via-context")
1683 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalViaContext) 1683 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalViaContext)
1684 1684
1685 void PrintDataTo(StringStream* stream) override; 1685 void PrintDataTo(StringStream* stream) override;
1686 1686
1687 LOperand* context() { return inputs_[0]; } 1687 LOperand* context() { return inputs_[0]; }
1688 1688
1689 Handle<Object> name() const { return hydrogen()->name(); }
1690 int depth() const { return hydrogen()->depth(); } 1689 int depth() const { return hydrogen()->depth(); }
1691 int slot_index() const { return hydrogen()->slot_index(); } 1690 int slot_index() const { return hydrogen()->slot_index(); }
1692 }; 1691 };
1693 1692
1694 1693
1695 class LLoadContextSlot final : public LTemplateInstruction<1, 1, 0> { 1694 class LLoadContextSlot final : public LTemplateInstruction<1, 1, 0> {
1696 public: 1695 public:
1697 explicit LLoadContextSlot(LOperand* context) { 1696 explicit LLoadContextSlot(LOperand* context) {
1698 inputs_[0] = context; 1697 inputs_[0] = context;
1699 } 1698 }
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
2483 2482
2484 LOperand* context() { return inputs_[0]; } 2483 LOperand* context() { return inputs_[0]; }
2485 LOperand* value() { return inputs_[1]; } 2484 LOperand* value() { return inputs_[1]; }
2486 2485
2487 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalViaContext, 2486 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalViaContext,
2488 "store-global-via-context") 2487 "store-global-via-context")
2489 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalViaContext) 2488 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalViaContext)
2490 2489
2491 void PrintDataTo(StringStream* stream) override; 2490 void PrintDataTo(StringStream* stream) override;
2492 2491
2493 Handle<Object> name() const { return hydrogen()->name(); }
2494 int depth() { return hydrogen()->depth(); } 2492 int depth() { return hydrogen()->depth(); }
2495 int slot_index() { return hydrogen()->slot_index(); } 2493 int slot_index() { return hydrogen()->slot_index(); }
2496 LanguageMode language_mode() { return hydrogen()->language_mode(); } 2494 LanguageMode language_mode() { return hydrogen()->language_mode(); }
2497 }; 2495 };
2498 2496
2499 2497
2500 template<int T> 2498 template<int T>
2501 class LStoreKeyed : public LTemplateInstruction<0, 3, T> { 2499 class LStoreKeyed : public LTemplateInstruction<0, 3, T> {
2502 public: 2500 public:
2503 LStoreKeyed(LOperand* elements, LOperand* key, LOperand* value) { 2501 LStoreKeyed(LOperand* elements, LOperand* key, LOperand* value) {
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
3290 3288
3291 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3289 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3292 }; 3290 };
3293 3291
3294 #undef DECLARE_HYDROGEN_ACCESSOR 3292 #undef DECLARE_HYDROGEN_ACCESSOR
3295 #undef DECLARE_CONCRETE_INSTRUCTION 3293 #undef DECLARE_CONCRETE_INSTRUCTION
3296 3294
3297 } } // namespace v8::internal 3295 } } // namespace v8::internal
3298 3296
3299 #endif // V8_ARM64_LITHIUM_ARM64_H_ 3297 #endif // V8_ARM64_LITHIUM_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/interface-descriptors-arm64.cc ('k') | src/arm64/lithium-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698