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

Unified Diff: src/interface-descriptors.cc

Issue 1292173003: VectorICs: New interface descriptor for vector transitioning stores. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/interface-descriptors.h ('k') | src/mips/interface-descriptors-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interface-descriptors.cc
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc
index da9eb2991fc8cd7ace2ad255d516500a7a18eb4e..780b9f6e2a42c697053c37f6c512609d1e8b0c36 100644
--- a/src/interface-descriptors.cc
+++ b/src/interface-descriptors.cc
@@ -100,6 +100,15 @@ void StoreDescriptor::InitializePlatformSpecific(
}
+void StoreTransitionDescriptor::InitializePlatformSpecific(
+ CallInterfaceDescriptorData* data) {
+ Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(),
+ MapRegister()};
+
+ data->InitializePlatformSpecific(arraysize(registers), registers);
+}
+
+
Type::FunctionType*
StoreTransitionDescriptor::BuildCallInterfaceDescriptorFunctionType(
Isolate* isolate, int paramater_count) {
@@ -198,6 +207,21 @@ void LoadWithVectorDescriptor::InitializePlatformSpecific(
Type::FunctionType*
+VectorStoreTransitionDescriptor::BuildCallInterfaceDescriptorFunctionType(
+ Isolate* isolate, int paramater_count) {
+ Type::FunctionType* function = Type::FunctionType::New(
+ AnyTagged(), Type::Undefined(), 6, isolate->interface_descriptor_zone());
+ function->InitParameter(0, AnyTagged()); // receiver
+ function->InitParameter(1, AnyTagged()); // name
+ function->InitParameter(2, AnyTagged()); // value
+ function->InitParameter(3, SmiType()); // slot
+ function->InitParameter(4, AnyTagged()); // vector
+ function->InitParameter(5, AnyTagged()); // map
+ return function;
+}
+
+
+Type::FunctionType*
VectorStoreICDescriptor::BuildCallInterfaceDescriptorFunctionType(
Isolate* isolate, int paramater_count) {
Type::FunctionType* function = Type::FunctionType::New(
« no previous file with comments | « src/interface-descriptors.h ('k') | src/mips/interface-descriptors-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698