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

Unified Diff: src/hydrogen-instructions.h

Issue 384403002: StubCallInterfaceDescriptor takes a context register. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code comments and ports. Created 6 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/hydrogen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 425683c4fb4d2626736f6cd81bce88385163003a..77874b06834e978a6e96754932f26105355e3098 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -2322,9 +2322,9 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
static HCallWithDescriptor* New(Zone* zone, HValue* context,
HValue* target,
int argument_count,
- const CallInterfaceDescriptor* descriptor,
+ const InterfaceDescriptor* descriptor,
const Vector<HValue*>& operands) {
- ASSERT(operands.length() == descriptor->environment_length());
+ ASSERT(operands.length() == descriptor->GetEnvironmentLength());
HCallWithDescriptor* res =
new(zone) HCallWithDescriptor(target, argument_count,
descriptor, operands, zone);
@@ -2344,7 +2344,7 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
return Representation::Tagged();
} else {
int par_index = index - 1;
- ASSERT(par_index < descriptor_->environment_length());
+ ASSERT(par_index < descriptor_->GetEnvironmentLength());
return descriptor_->GetParameterRepresentation(par_index);
}
}
@@ -2363,7 +2363,7 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
return -argument_count_;
}
- const CallInterfaceDescriptor* descriptor() const {
+ const InterfaceDescriptor* descriptor() const {
return descriptor_;
}
@@ -2377,11 +2377,11 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
// The argument count includes the receiver.
HCallWithDescriptor(HValue* target,
int argument_count,
- const CallInterfaceDescriptor* descriptor,
+ const InterfaceDescriptor* descriptor,
const Vector<HValue*>& operands,
Zone* zone)
: descriptor_(descriptor),
- values_(descriptor->environment_length() + 1, zone) {
+ values_(descriptor->GetEnvironmentLength() + 1, zone) {
argument_count_ = argument_count;
AddOperand(target, zone);
for (int i = 0; i < operands.length(); i++) {
@@ -2401,7 +2401,7 @@ class HCallWithDescriptor V8_FINAL : public HInstruction {
values_[index] = value;
}
- const CallInterfaceDescriptor* descriptor_;
+ const InterfaceDescriptor* descriptor_;
ZoneList<HValue*> values_;
int argument_count_;
};
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698