Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index e2321974d3fb03c7b92fc726f3f1fa2411dc1d61..ae037681111b1faf0dbe42f1aa42d1d140e3f8e2 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -7655,6 +7655,9 @@ class JSMessageObject: public JSObject { |
| // [arguments]: the arguments for formatting the error message. |
| DECL_ACCESSORS(arguments, JSArray) |
| + // [arguments]: the arguments for formatting the error message. |
|
aandrey
2014/09/26 14:58:46
copy pasted
Yang
2014/09/26 15:04:42
Done.
|
| + DECL_ACCESSORS(promise, Object) |
| + |
| // [script]: the script from which the error message originated. |
| DECL_ACCESSORS(script, Object) |
| @@ -7678,7 +7681,8 @@ class JSMessageObject: public JSObject { |
| // Layout description. |
| static const int kTypeOffset = JSObject::kHeaderSize; |
| static const int kArgumentsOffset = kTypeOffset + kPointerSize; |
| - static const int kScriptOffset = kArgumentsOffset + kPointerSize; |
| + static const int kPromiseOffset = kArgumentsOffset + kPointerSize; |
| + static const int kScriptOffset = kPromiseOffset + kPointerSize; |
| static const int kStackFramesOffset = kScriptOffset + kPointerSize; |
| static const int kStartPositionOffset = kStackFramesOffset + kPointerSize; |
| static const int kEndPositionOffset = kStartPositionOffset + kPointerSize; |