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

Unified Diff: src/objects.h

Issue 7077: Under construction: Preliminary change to support per... Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 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/objects.h
===================================================================
--- src/objects.h (revision 485)
+++ src/objects.h (working copy)
@@ -2494,6 +2494,9 @@
// [code]: Function code.
DECL_ACCESSORS(code, Code)
+ // [constructor]: Code stub for constructing instances of this function.
+ DECL_ACCESSORS(constructor, Code)
iposva 2008/10/10 13:56:18 The term constructor is overloaded here. I would p
+
// Returns if this function has been compiled to native code yet.
inline bool is_compiled();
@@ -2585,7 +2588,8 @@
// Layout description.
static const int kNameOffset = HeapObject::kHeaderSize;
static const int kCodeOffset = kNameOffset + kPointerSize;
- static const int kLengthOffset = kCodeOffset + kPointerSize;
+ static const int kConstructorOffset = kCodeOffset + kPointerSize;
+ static const int kLengthOffset = kConstructorOffset + kPointerSize;
static const int kFormalParameterCountOffset = kLengthOffset + kIntSize;
static const int kExpectedNofPropertiesOffset =
kFormalParameterCountOffset + kIntSize;
« src/codegen-ia32.cc ('K') | « src/macro-assembler-ia32.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698