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

Unified Diff: src/interface-descriptors.h

Issue 2191533002: [turbofan] Remove access to FunctionType from call interface. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins/builtins.cc ('k') | no next file » | 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 4d18c7d1d08963a0ea4acee158fcb43d163fe4f3..650c83a2ad05a9fa72ad94d98e878b7367b352c6 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -133,8 +133,6 @@ class CallInterfaceDescriptorData {
return platform_specific_descriptor_;
}
- FunctionType* function_type() const { return function_type_; }
-
private:
int register_param_count_;
@@ -179,7 +177,7 @@ class CallInterfaceDescriptor {
}
int GetStackParameterCount() const {
- return data()->function_type()->Arity() - data()->register_param_count();
+ return data()->param_count() - data()->register_param_count();
}
Register GetRegisterParameter(int index) const {
@@ -196,8 +194,6 @@ class CallInterfaceDescriptor {
return data()->platform_specific_descriptor();
}
- FunctionType* GetFunctionType() const { return data()->function_type(); }
-
static const Register ContextRegister();
const char* DebugName(Isolate* isolate) const;
« no previous file with comments | « src/builtins/builtins.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698