Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index a118c9081b759c10b745e9cb5679748a0898743f..4475900e072141fbb44acc3b7243eaf321819c6e 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -56,7 +56,7 @@ class CallInterfaceDescriptorData { |
// TODO(mvstanton): Instead of taking parallel arrays register and |
// param_representations, how about a struct that puts the representation |
// and register side by side (eg, RegRep(r1, Representation::Tagged()). |
- // The same should go for the CodeStubInterfaceDescriptor class. |
+ // The same should go for the CodeStubDescriptor class. |
void Initialize(int register_parameter_count, Register* registers, |
Representation* param_representations, |
PlatformInterfaceDescriptor* platform_descriptor = NULL); |
@@ -114,10 +114,6 @@ class CallInterfaceDescriptor { |
CallInterfaceDescriptor(Isolate* isolate, CallDescriptors::Key key) |
: data_(isolate->call_descriptor_data(key)) {} |
- bool IsInitialized() const { |
- return data() != NULL && data()->IsInitialized(); |
- } |
- |
int GetEnvironmentLength() const { return data()->register_param_count(); } |
int GetRegisterParameterCount() const { |
@@ -158,6 +154,8 @@ class CallInterfaceDescriptor { |
static const Register ContextRegister(); |
+ const char* DebugName(Isolate* isolate); |
+ |
protected: |
const CallInterfaceDescriptorData* data() const { return data_; } |