Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 6159d6f70d70984768eade06557a663561edf1a9..23b03eaeef5495a760554bfea0bfb9791a285b77 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -418,6 +418,20 @@ void CallDescriptors::InitializeForIsolate(Isolate* isolate) { |
descriptor->register_params_ = registers; |
descriptor->param_representations_ = representations; |
} |
+ { |
+ CallInterfaceDescriptor* descriptor = |
+ isolate->call_descriptor(Isolate::CallHandler); |
+ static Register registers[] = { rsi, // context |
+ rdx, // receiver |
+ }; |
+ static Representation representations[] = { |
+ Representation::Tagged(), // context |
+ Representation::Tagged(), // receiver |
+ }; |
+ descriptor->register_param_count_ = 2; |
+ descriptor->register_params_ = registers; |
+ descriptor->param_representations_ = representations; |
+ } |
} |