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

Side by Side Diff: src/crankshaft/s390/lithium-s390.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, 6 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/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/s390/lithium-s390.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_S390_LITHIUM_S390_H_ 5 #ifndef V8_CRANKSHAFT_S390_LITHIUM_S390_H_
6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_H_ 6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_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 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 1432
1433 LOperand* context() { return inputs_[0]; } 1433 LOperand* context() { return inputs_[0]; }
1434 LOperand* object() { return inputs_[1]; } 1434 LOperand* object() { return inputs_[1]; }
1435 LOperand* key() { return inputs_[2]; } 1435 LOperand* key() { return inputs_[2]; }
1436 LOperand* temp_vector() { return temps_[0]; } 1436 LOperand* temp_vector() { return temps_[0]; }
1437 1437
1438 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") 1438 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic")
1439 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedGeneric) 1439 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedGeneric)
1440 }; 1440 };
1441 1441
1442 class LLoadGlobalGeneric final : public LTemplateInstruction<1, 2, 1> { 1442 class LLoadGlobalGeneric final : public LTemplateInstruction<1, 1, 1> {
1443 public: 1443 public:
1444 LLoadGlobalGeneric(LOperand* context, LOperand* global_object, 1444 LLoadGlobalGeneric(LOperand* context, LOperand* vector) {
1445 LOperand* vector) {
1446 inputs_[0] = context; 1445 inputs_[0] = context;
1447 inputs_[1] = global_object;
1448 temps_[0] = vector; 1446 temps_[0] = vector;
1449 } 1447 }
1450 1448
1451 LOperand* context() { return inputs_[0]; } 1449 LOperand* context() { return inputs_[0]; }
1452 LOperand* global_object() { return inputs_[1]; }
1453 LOperand* temp_vector() { return temps_[0]; } 1450 LOperand* temp_vector() { return temps_[0]; }
1454 1451
1455 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") 1452 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1456 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) 1453 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1457 1454
1458 Handle<Object> name() const { return hydrogen()->name(); } 1455 Handle<Object> name() const { return hydrogen()->name(); }
1459 TypeofMode typeof_mode() const { return hydrogen()->typeof_mode(); } 1456 TypeofMode typeof_mode() const { return hydrogen()->typeof_mode(); }
1460 }; 1457 };
1461 1458
1462 class LLoadContextSlot final : public LTemplateInstruction<1, 1, 0> { 1459 class LLoadContextSlot final : public LTemplateInstruction<1, 1, 0> {
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
2404 2401
2405 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2402 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2406 }; 2403 };
2407 2404
2408 #undef DECLARE_HYDROGEN_ACCESSOR 2405 #undef DECLARE_HYDROGEN_ACCESSOR
2409 #undef DECLARE_CONCRETE_INSTRUCTION 2406 #undef DECLARE_CONCRETE_INSTRUCTION
2410 } // namespace internal 2407 } // namespace internal
2411 } // namespace v8 2408 } // namespace v8
2412 2409
2413 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_ 2410 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/s390/lithium-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698