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

Unified Diff: src/interface-descriptors.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interface-descriptors.h
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h
index 9ee08792831e254760c39de4c73889f31f3d8abc..18fc9a87c59c95e10234d35b554ada8d9b688c16 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -375,14 +375,10 @@ class LoadGlobalDescriptor : public CallInterfaceDescriptor {
CallInterfaceDescriptor)
enum ParameterIndices { kSlotIndex };
-};
-class LoadGlobalWithVectorDescriptor : public CallInterfaceDescriptor {
- public:
- DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalWithVectorDescriptor,
- CallInterfaceDescriptor)
-
- enum ParameterIndices { kSlotIndex, kVectorIndex };
+ static const Register SlotRegister() {
+ return LoadDescriptor::SlotRegister();
+ }
};
class StoreDescriptor : public CallInterfaceDescriptor {
@@ -487,6 +483,17 @@ class LoadWithVectorDescriptor : public LoadDescriptor {
static const Register VectorRegister();
};
+class LoadGlobalWithVectorDescriptor : public LoadGlobalDescriptor {
+ public:
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalWithVectorDescriptor,
+ LoadGlobalDescriptor)
+
+ enum ParameterIndices { kSlotIndex, kVectorIndex };
+
+ static const Register VectorRegister() {
+ return LoadWithVectorDescriptor::VectorRegister();
+ }
+};
class FastNewClosureDescriptor : public CallInterfaceDescriptor {
public:
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698