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

Unified Diff: src/interface-descriptors.h

Issue 552803002: Get CallInterfaceDescriptor directly from CodeStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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
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_; }

Powered by Google App Engine
This is Rietveld 408576698