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

Unified Diff: src/arguments.h

Issue 1327002: Simplify passing of AccessorInfo to interceptors: (Closed)
Patch Set: . Created 10 years, 9 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/arguments.h
diff --git a/src/arguments.h b/src/arguments.h
index 3fed22311bf8474490e1a8fe3027a474b55354f9..d3d4e481a01a950d7a4f3a3836c2f4b45086915c 100644
--- a/src/arguments.h
+++ b/src/arguments.h
@@ -80,15 +80,14 @@ class CustomArguments : public Relocatable {
inline CustomArguments(Object* data,
JSObject* self,
JSObject* holder) {
- values_[3] = self;
- values_[2] = holder;
- values_[1] = Smi::FromInt(0);
+ values_[2] = self;
+ values_[1] = holder;
values_[0] = data;
}
void IterateInstance(ObjectVisitor* v);
- Object** end() { return values_ + 3; }
+ Object** end() { return values_ + 2; }
private:
- Object* values_[4];
+ Object* values_[3];
};
« no previous file with comments | « include/v8.h ('k') | src/arm/stub-cache-arm.cc » ('j') | src/ia32/stub-cache-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698