Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index 8a43ec13a66e47aa14aa0ce6535d0bbc8895979c..1c71d0f94005d5121d68aa8bc6afd6910e0de56f 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -89,7 +89,7 @@ class CallInterfaceDescriptorData { |
// A copy of the passed in registers and param_representations is made |
// and owned by the CallInterfaceDescriptorData. |
- void InitializePlatformIndependent(Type::FunctionType* function_type) { |
+ void InitializePlatformIndependent(FunctionType* function_type) { |
function_type_ = function_type; |
} |
@@ -112,7 +112,7 @@ class CallInterfaceDescriptorData { |
return platform_specific_descriptor_; |
} |
- Type::FunctionType* function_type() const { return function_type_; } |
+ FunctionType* function_type() const { return function_type_; } |
private: |
int register_param_count_; |
@@ -124,7 +124,7 @@ class CallInterfaceDescriptorData { |
base::SmartArrayPointer<Register> register_params_; |
// Specifies types for parameters and return |
- Type::FunctionType* function_type_; |
+ FunctionType* function_type_; |
PlatformInterfaceDescriptor* platform_specific_descriptor_; |
@@ -175,21 +175,19 @@ class CallInterfaceDescriptor { |
return data()->platform_specific_descriptor(); |
} |
- Type::FunctionType* GetFunctionType() const { |
- return data()->function_type(); |
- } |
+ FunctionType* GetFunctionType() const { return data()->function_type(); } |
static const Register ContextRegister(); |
const char* DebugName(Isolate* isolate) const; |
- static Type::FunctionType* BuildDefaultFunctionType(Isolate* isolate, |
- int paramater_count); |
+ static FunctionType* BuildDefaultFunctionType(Isolate* isolate, |
+ int paramater_count); |
protected: |
const CallInterfaceDescriptorData* data() const { return data_; } |
- virtual Type::FunctionType* BuildCallInterfaceDescriptorFunctionType( |
+ virtual FunctionType* BuildCallInterfaceDescriptorFunctionType( |
Isolate* isolate, int register_param_count) { |
return BuildDefaultFunctionType(isolate, register_param_count); |
} |
@@ -202,9 +200,8 @@ class CallInterfaceDescriptor { |
if (!data()->IsInitialized()) { |
CallInterfaceDescriptorData* d = isolate->call_descriptor_data(key); |
InitializePlatformSpecific(d); |
- Type::FunctionType* function_type = |
- BuildCallInterfaceDescriptorFunctionType(isolate, |
- d->register_param_count()); |
+ FunctionType* function_type = BuildCallInterfaceDescriptorFunctionType( |
+ isolate, d->register_param_count()); |
d->InitializePlatformIndependent(function_type); |
} |
} |
@@ -226,16 +223,14 @@ class CallInterfaceDescriptor { |
public: \ |
static inline CallDescriptors::Key key(); |
- |
#define DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(name, base) \ |
DECLARE_DESCRIPTOR(name, base) \ |
protected: \ |
- Type::FunctionType* BuildCallInterfaceDescriptorFunctionType( \ |
+ FunctionType* BuildCallInterfaceDescriptorFunctionType( \ |
Isolate* isolate, int register_param_count) override; \ |
\ |
public: |
- |
class VoidDescriptor : public CallInterfaceDescriptor { |
public: |
DECLARE_DESCRIPTOR(VoidDescriptor, CallInterfaceDescriptor) |