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

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

Issue 2096653003: [ic] Don't pass receiver and name to LoadGlobalIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@store-name-in-metavector
Patch Set: Removed name parameter. Created 4 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/crankshaft/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/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_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_
6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_
7 7
8 #include "src/crankshaft/hydrogen.h" 8 #include "src/crankshaft/hydrogen.h"
9 #include "src/crankshaft/lithium.h" 9 #include "src/crankshaft/lithium.h"
10 #include "src/crankshaft/lithium-allocator.h" 10 #include "src/crankshaft/lithium-allocator.h"
(...skipping 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after
1546 temps_[0] = temp; 1546 temps_[0] = temp;
1547 } 1547 }
1548 1548
1549 LOperand* function() { return inputs_[0]; } 1549 LOperand* function() { return inputs_[0]; }
1550 LOperand* temp() { return temps_[0]; } 1550 LOperand* temp() { return temps_[0]; }
1551 1551
1552 DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype") 1552 DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype")
1553 DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype) 1553 DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype)
1554 }; 1554 };
1555 1555
1556 1556 class LLoadGlobalGeneric final : public LTemplateInstruction<1, 1, 1> {
1557 class LLoadGlobalGeneric final : public LTemplateInstruction<1, 2, 1> {
1558 public: 1557 public:
1559 LLoadGlobalGeneric(LOperand* context, LOperand* global_object, 1558 LLoadGlobalGeneric(LOperand* context, LOperand* vector) {
1560 LOperand* vector) {
1561 inputs_[0] = context; 1559 inputs_[0] = context;
1562 inputs_[1] = global_object;
1563 temps_[0] = vector; 1560 temps_[0] = vector;
1564 } 1561 }
1565 1562
1566 LOperand* context() { return inputs_[0]; } 1563 LOperand* context() { return inputs_[0]; }
1567 LOperand* global_object() { return inputs_[1]; }
1568 LOperand* temp_vector() { return temps_[0]; } 1564 LOperand* temp_vector() { return temps_[0]; }
1569 1565
1570 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") 1566 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1571 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) 1567 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1572 1568
1573 Handle<Object> name() const { return hydrogen()->name(); } 1569 Handle<Object> name() const { return hydrogen()->name(); }
1574 TypeofMode typeof_mode() const { return hydrogen()->typeof_mode(); } 1570 TypeofMode typeof_mode() const { return hydrogen()->typeof_mode(); }
1575 }; 1571 };
1576 1572
1577 1573
(...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after
3008 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3004 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3009 }; 3005 };
3010 3006
3011 #undef DECLARE_HYDROGEN_ACCESSOR 3007 #undef DECLARE_HYDROGEN_ACCESSOR
3012 #undef DECLARE_CONCRETE_INSTRUCTION 3008 #undef DECLARE_CONCRETE_INSTRUCTION
3013 3009
3014 } // namespace internal 3010 } // namespace internal
3015 } // namespace v8 3011 } // namespace v8
3016 3012
3017 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ 3013 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/arm64/lithium-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698